[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
Thu Feb 11 14:57:01 UTC 2021
https://issues.dlang.org/show_bug.cgi?id=21614
Dlang Bot <dlang-bot at dlang.rocks> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #8 from Dlang Bot <dlang-bot at dlang.rocks> ---
dlang/dmd pull request #12191 "fix Issue 21614 -
AssertError at src/dmd/semantic3.d(812): Assertion failure" was merged into
stable:
- 7637e61675b2249d640c44ffc792fff4d1fecb69 by Iain Buclaw:
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 auto functions
given the wrong return type.
https://github.com/dlang/dmd/pull/12191
--
More information about the Digitalmars-d-bugs
mailing list