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


Don <clugd...@yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |clugd...@yahoo.com.au
            Summary|ICE: assigning power to     |ICE: immutable type
                   |immutable and returning     |inference with ^^2
                   |result                      |


--- Comment #2 from Don <clugd...@yahoo.com.au> 2010-08-13 03:03:40 PDT ---
Reduced test case. Doesn't even need a return. It only happens for x^^2 and
x^^3,  and that's because those cases become comma expressions. Probably
something is wrong in fromConstInitializer().

void bug4465()
{
    const a = 2 ^^ 2;
    int b = a;
}

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to