http://d.puremagic.com/issues/show_bug.cgi?id=6774
Roman D. Boiko <r...@d-coding.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |r...@d-coding.com --- Comment #5 from Roman D. Boiko <r...@d-coding.com> 2012-06-14 10:22:27 PDT --- struct S(T) { pure nothrow static void foo(immutable(T) data) {} pure nothrow static void foo(ref immutable(T) data) {} } unittest { immutable a = 2.0f; S!float.foo(a); } compiler is run with the following flags: -m64 -w -debug -gc -fPIC -unittest on Ubuntu 12.10 x64. Result: Error: 2 is not an lvalue dmd: glue.c:1114: virtual unsigned int Type::totym(): Assertion `0' failed. Aborted (core dumped) make: *** [build/client] Error 134 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------