[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 13 12:30:04 UTC 2021
https://issues.dlang.org/show_bug.cgi?id=21614
--- Comment #9 from Dlang Bot <dlang-bot at dlang.rocks> ---
dlang/dmd pull request #12195 "Merge stable" was merged into master:
- 599c1b32a92d6d7606b3ec475d2229cde2d4a412 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/12195
--
More information about the Digitalmars-d-bugs
mailing list