Created attachment 1316
repro case
I attatched a reduced repro case. This used to work with dmd 2.064 and all
versions before that down to at least dmd 2.054.
Comment #1 by dlang-bugzilla — 2014-01-29T04:30:25Z
Comment #5 by github-bugzilla — 2015-10-04T06:39:01Z
Commit pushed to master at https://github.com/D-Programming-Language/dmdhttps://github.com/D-Programming-Language/dmd/commit/1df41dc6613e1e455e31136ac03b4102df5d54e1
Resolve forward reference in `VarDeclaration.toAlias()`
After this change:
1. The check `!v.type` in `DsymbolExp.resolve` and `ScopeExp.semantic` will mean *unresolvable* forward reference.
2. The code for issue 12023 in `DsymbolExp.resolve` becomes cleaner.
3. Through the calls `AliasDeclaration.toAlias` and `VarDeclaration.toAlias`, selected import symbols will be resolved and `ice11300.d` case is made compilable.