dlang bug - accessing module variable from method segfaults only when using module reference directly

Chris Katko ckatko at gmail.com
Fri Jul 1 13:01:30 UTC 2022


Forgot the last line. That's important because world MUST exist 
by time elf is called... because world... created and called elf.

So it's not a memory issue, but some sort of linkage issue.


More information about the Digitalmars-d-learn mailing list