[Issue 19937] object._d_assert_fail linker error if compiling with -checkaction=context
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Aug 3 21:00:44 UTC 2019
https://issues.dlang.org/show_bug.cgi?id=19937
--- Comment #3 from Seb <greeenify at gmail.com> ---
BTW a workaround is to do force the instantiation e.g. with the following hack:
```
cat << EOF > workaround.d
void test(ulong x, ulong y){
assert(x < y);
}
EOF
```
```
dmd -checkaction=context -c workaround.d
dmd -checkaction=context workaround.o checkaction.d
```
--
More information about the Digitalmars-d-bugs
mailing list