[Issue 24113] Eager failure of TypeInfo in _d_newclassT even if not used in -betterC

2023-10-21 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24113

Richard Cattermole  changed:

   What|Removed |Added

 OS|Linux   |All

--


[Issue 24113] Eager failure of TypeInfo in _d_newclassT even if not used in -betterC

2023-09-06 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24113

--- Comment #2 from Richard Cattermole  ---
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;
}
```

--


[Issue 24113] Eager failure of TypeInfo in _d_newclassT even if not used in -betterC

2023-09-06 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24113

RazvanN  changed:

   What|Removed |Added

 CC||razvan.nitu1...@gmail.com

--- Comment #1 from RazvanN  ---
Could you provide a test case? I don't know how to reproduce this.

--


[Issue 24113] Eager failure of TypeInfo in _d_newclassT even if not used in -betterC

2023-08-27 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24113

Richard Cattermole  changed:

   What|Removed |Added

   Keywords||betterC

--