http://d.puremagic.com/issues/show_bug.cgi?id=6774
David Simcha changed:
What|Removed |Added
CC||dsim...@yahoo.com
Summary|ICE
http://d.puremagic.com/issues/show_bug.cgi?id=6774
--- Comment #4 from Andrej Mitrovic 2012-04-19
18:55:30 PDT ---
Updates:
OP sample works in 2.057+.
Kenji's sample works in 2.059.
Heywood's sample still ICEs, except it seems to ice regardless of the -g flag:
Assertion failure: '0' on line
http://d.puremagic.com/issues/show_bug.cgi?id=6774
Roman D. Boiko changed:
What|Removed |Added
CC||r...@d-coding.com
--- Comment #5 from
http://d.puremagic.com/issues/show_bug.cgi?id=6774
--- Comment #6 from Roman D. Boiko 2012-06-14 10:26:37 PDT
---
(In reply to comment #5)
> compiler is run with the following flags:
> -m64 -w -debug -gc -fPIC -unittest
Actually, -unittest is enough, other flags don't affect the result.
--
C
http://d.puremagic.com/issues/show_bug.cgi?id=6774
--- Comment #7 from Don 2012-11-14 23:55:13 PST ---
Reduced test case for comment 5:
void foo(T)(ref immutable(T) data) {}
void test6774() {
immutable a = 2.0f;
foo!(float)(a);
}
--
Configure issuemail: http://d.puremagic.com/issues
http://d.puremagic.com/issues/show_bug.cgi?id=6774
Walter Bright changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
http://d.puremagic.com/issues/show_bug.cgi?id=6774
--- Comment #9 from Andrej Mitrovic 2013-10-06
06:06:53 PDT ---
Kenji or others, can you confirmed this was deliberately fixed? We should add
it to the test-suite if not (it affects multiple people).
--
Configure issuemail: http://d.puremagi