Don <> changed:

           What    |Removed                     |Added
            Summary|ICE(D1 only, mangle.c)      |ICE(mangle.c) alias
                   |alias corrupts type         |corrupts type inference of
                   |inference of static         |static variables
                   |variables                   |

--- Comment #7 from Don <> 2009-11-17 23:56:15 PST ---
This applies to D2 as well. The D2 test case (below) generates:
 "Error: forward reference to type int*" on D1. 
On D2 it ICEs in mangle.c(81)  fd && fd->inferRetType
Removing the alias fixes both the ICE and the forward reference error.
Happens with typedef as well as alias.

alias int * any_old_alias;
typeof(foo) bar = foo;
const int * foo = null;

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to