Thread overview
[Issue 24113] Eager failure of TypeInfo in _d_newclassT even if not used in -betterC
Aug 27, 2023
Richard Cattermole
Sep 06, 2023
RazvanN
Sep 06, 2023
Richard Cattermole
Oct 21, 2023
Richard Cattermole
August 27, 2023
https://issues.dlang.org/show_bug.cgi?id=24113

Richard Cattermole <alphaglosined@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |betterC

--
September 06, 2023
https://issues.dlang.org/show_bug.cgi?id=24113

RazvanN <razvan.nitu1305@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |razvan.nitu1305@gmail.com

--- Comment #1 from RazvanN <razvan.nitu1305@gmail.com> ---
Could you provide a test case? I don't know how to reproduce this.

--
September 06, 2023
https://issues.dlang.org/show_bug.cgi?id=24113

--- Comment #2 from Richard Cattermole <alphaglosined@gmail.com> ---
I could not come up with a symbol that triggered it. Without the import, the error went away, that is as close as I could get.

This is the project code: https://github.com/Project-Sidero/basic_memory/commit/9acbcc1a91a5927aaa9a164ff65118be719f24b5

git clone & dub build

It'll exhibit it at that patch (I just verified it, by removing my version'd out import patch from object.d).

```d
version(D_BetterC) {
} else {
public import core.lifetime : _d_delstructImpl;
public import core.lifetime : _d_newThrowable;
public import core.lifetime : _d_newclassT;
public import core.lifetime : _d_newclassTTrace;
public import core.lifetime : _d_newitemT;
}
```

--
October 21, 2023
https://issues.dlang.org/show_bug.cgi?id=24113

Richard Cattermole <alphaglosined@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|Linux                       |All

--