[Issue 24089] Error: Unknown for bad ordering of struct/function instantiation with sema error

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Aug 18 09:53:28 UTC 2023


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

RazvanN <razvan.nitu1305 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |razvan.nitu1305 at gmail.com

--- Comment #1 from RazvanN <razvan.nitu1305 at gmail.com> ---
I bet this is a dupe of: https://issues.dlang.org/show_bug.cgi?id=15459 .

Bottom line: template instances that are instantiated from speculative contexts
will be cached (without any errors being outputted). Once the template instance
is reused, boom!

For more info check my failed attempt at fixing this:
https://github.com/dlang/dmd/pull/13359

--


More information about the Digitalmars-d-bugs mailing list