[Issue 10283] New: ICE(interpret.c): passing struct with failed initalizer to CTFE
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Jun 6 05:38:38 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10283
Summary: ICE(interpret.c): passing struct with failed
initalizer to CTFE
Product: D
Version: D1 & D2
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: clugdbug at yahoo.com.au
--- Comment #0 from Don <clugdbug at yahoo.com.au> 2013-06-06 05:38:37 PDT ---
Repy blah(Repy xxx) { return xxx; }
Repy repy = blah(Repy());
struct Repy
{
string source = 7;
}
---
bug.d(7): Error: cannot implicitly convert expression (7) of type int to string
CTFE: ErrorExp in bug.d(3)
dmd: interpret.c:310: static int CompiledCtfeFunction::walkAllVars(Expression*,
void*): Assertion `0' failed.
Aborted
This is a failure of error propagation.
--
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