Bug 6134 – [CTFE] Assignment ref or out parameter to local variable fails

Status
RESOLVED
Resolution
DUPLICATE
Severity
major
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
Other
OS
Windows
Creation time
2011-06-09T10:56:00Z
Last change time
2011-06-11T22:32:57Z
Keywords
ice-on-valid-code
Assigned to
nobody
Creator
verylonglogin.reg

Attachments

IDFilenameSummaryContent-TypeSize
995main.dBug testcasetext/x-dsrc331

Comments

Comment #0 by verylonglogin.reg — 2011-06-09T10:56:09Z
Created attachment 995 Bug testcase An assignment an ref or out parameter to a local variable in CTFE causes "Assertion failure on line 2680 ... in file 'interpret.c'" The failure is in dmd v2.053, dmd v2.052 compiles it.
Comment #1 by clugdbug — 2011-06-11T22:32:57Z
Already fixed in git master. *** This issue has been marked as a duplicate of issue 6001 ***