[Issue 19945] In betterC strange linker error can occur when importing alias of template struct

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Jun 4 06:20:43 UTC 2022


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

Richard Cattermole <alphaglosined at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |alphaglosined at gmail.com

--- Comment #2 from Richard Cattermole <alphaglosined at gmail.com> ---
Walter is probably correct that we cannot fix this.

However, it should work due to LinearCongruentialEngine being templated.

For dmd if -allinst makes this code work, then it is indeed a template emission
bug.

--


More information about the Digitalmars-d-bugs mailing list