[Issue 20753] "Error: unknown" with structs of arrays, speculative instantiation and recursive types

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Nov 26 12:36:12 UTC 2021


https://issues.dlang.org/show_bug.cgi?id=20753

--- Comment #5 from Vladimir Panteleev <dlang-bugzilla at thecybershadow.net> ---
(In reply to RazvanN from comment #3)
> Running the code on run.dlang.io [1], it seems that at some point this code
> compiled, but then it issued an error which was transformed into an ICE. So
> by "Works in DMD 2.085 but not newer.", I guess you mean that a proper error
> is outputted? I can't imagine how this used to work we have a mutual
> dependency at semantic between HashCollection and IniFragment.

By "works" here I meant "does not crash with -o-", but it does result in
various errors with -c.

With -c, it succeeds in the version range 2.066.0 to 2.071.2.

--


More information about the Digitalmars-d-bugs mailing list