Thread overview
[Issue 24089] Error: Unknown for bad ordering of struct/function instantiation with sema error
Aug 17, 2023
FeepingCreature
Aug 18, 2023
RazvanN
August 17, 2023
https://issues.dlang.org/show_bug.cgi?id=24089

FeepingCreature <default_357-line@yahoo.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |industry

--
August 18, 2023
https://issues.dlang.org/show_bug.cgi?id=24089

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

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

--- Comment #1 from RazvanN <razvan.nitu1305@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

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

--- Comment #2 from dlangBugzillaToGithub <robert.schadek@posteo.de> ---
THIS ISSUE HAS BEEN MOVED TO GITHUB

https://github.com/dlang/dmd/issues/20321

DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB

--