--- struct S { S* ptr; int t; // no errors if `t` is commented void f() { } } int f() { S s0, s1; s0.ptr = &s1; s0.ptr.f(); // Error: couldn't find field ptr of type S in S(s1,0) return 0; } void main() { enum e = f(); } ---
Commit pushed to https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/89c71d8d8e0355167fc24dc671e6aa9b385a565a Merge pull request #633 from donc/ctfe7216 CTFE ICE bugs 7216 and 7277
https://github.com/D-Programming-Language/dmd/commit/e2a85d6f082626ed338c5f4a4a018a7bf8dd6a1e https://github.com/D-Programming-Language/dmd/commit/89c71d8d8e0355167fc24dc671e6aa9b385a565a