[Issue 4465] ICE: immutable type inference with ^^2
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Aug 13 03:03:43 PDT 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4465
Don <clugdbug at yahoo.com.au> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |clugdbug at yahoo.com.au
Summary|ICE: assigning power to |ICE: immutable type
|immutable and returning |inference with ^^2
|result |
--- Comment #2 from Don <clugdbug at 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: -------
More information about the Digitalmars-d-bugs
mailing list