[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
Tue Feb 9 19:17:25 UTC 2021
https://issues.dlang.org/show_bug.cgi?id=21614
Dlang Bot <dlang-bot at dlang.rocks> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |pull
--- Comment #7 from Dlang Bot <dlang-bot at dlang.rocks> ---
@ibuclaw created dlang/dmd pull request #12191 "fix Issue 21614 -
AssertError at src/dmd/semantic3.d(812): Assertion failure" fixing this issue:
- fix Issue 21614 - AssertError at src/dmd/semantic3.d(812): Assertion failure
Template instances may import modules that have not finished semantic1,
and in the case of cyclic imports, semantic2 could be ran on a function
symbol before semantic1 has begun, which can lead to inferred functions
given the wrong return type.
https://github.com/dlang/dmd/pull/12191
--
More information about the Digitalmars-d-bugs
mailing list