[Issue 21614] compiled imports: core.exception.AssertError at src/dmd/semantic3.d(812): Assertion failure
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Feb 6 10:32:29 UTC 2021
https://issues.dlang.org/show_bug.cgi?id=21614
--- Comment #2 from Iain Buclaw <ibuclaw at gdcproject.org> ---
In the unreduced test, a function that is marked `inferRetType` has a return
statement, but the return type is inferred as `void` (possibly because semantic
never finished for it). Hence the assert is triggered.
--
More information about the Digitalmars-d-bugs
mailing list