http://d.puremagic.com/issues/show_bug.cgi?id=2080


Don <clugd...@yahoo.com.au> 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 <clugd...@yahoo.com.au> 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: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to