Bug 12555 – Incorrect error ungagging for speculatively instantiated class

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2014-04-10T12:54:00Z
Last change time
2017-06-28T09:26:13Z
Keywords
pull, rejects-valid
Assigned to
nobody
Creator
k.hara.pg
Blocks
11622

Comments

Comment #0 by k.hara.pg — 2014-04-10T12:54:59Z
This test case should not produce any errors, but doesn't. class A(T) { Undef error; } static assert(!__traits(compiles, { class C : A!C { } })); ---- test.d(3): Error: undefined identifier Undef test.d(8): Error: template instance test.A!(C) error instantiating
Comment #1 by k.hara.pg — 2014-04-10T13:00:07Z
Comment #2 by k.hara.pg — 2014-04-10T15:32:18Z
Comment #3 by github-bugzilla — 2014-05-02T23:23:44Z
Commit pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/9d2d7cca1fd2dedd2924974fa84319f763a2ec44 fix Issue 12555 - Incorrect error ungagging for speculatively instantiated class `ungagSpeculative()` should do nothing for function local symbols.
Comment #4 by github-bugzilla — 2014-05-16T02:16:20Z
Commit pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/050707d1b1079bff15f3770fb6b5e8db1015a20a Merge pull request #3384 from 9rnsr/refactor_aggregate Issue 12078 & 12143 & 12555 & 11622 - Separate class hierarchy calculation from class member semantics
Comment #5 by dlang-bugzilla — 2017-06-28T09:26:13Z
*** Issue 11195 has been marked as a duplicate of this issue. ***