[Issue 23637] [betterC] DMD issues GC usage error during CTFE

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Jan 18 17:29:49 UTC 2023


https://issues.dlang.org/show_bug.cgi?id=23637

--- Comment #3 from Jack Stouffer <jack at jackstouffer.com> ---
(In reply to RazvanN from comment #2)
> If you template the myToString method then the code compiles successfully
> because the template instances do not make it to the object file.

I'm going to open an error message bug then. There's no way a normal user is
going to know this.

--


More information about the Digitalmars-d-bugs mailing list