Thread overview | |||||
---|---|---|---|---|---|
|
June 05, 2013 [Issue 10273] New: ICE(ctfeexpr.c): using CTFE after error in struct default values | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=10273 Summary: ICE(ctfeexpr.c): using CTFE after error in struct default values Product: D Version: D1 & D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody@puremagic.com ReportedBy: clugdbug@yahoo.com.au --- Comment #0 from Don <clugdbug@yahoo.com.au> 2013-06-05 01:35:59 PDT --- struct Bug10273 { int val = 3.45; } int bug10273() { Bug10273 p; return 1; } static assert(bug10273()); --- bug.d(2): Error: cannot implicitly convert expression (3.45) of type double to int dmd: ctfeexpr.c:354: Expression* copyLiteral(Expression*): Assertion `0' failed. Aborted don@labs-19:~/compiler -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
June 05, 2013 [Issue 10273] ICE(ctfeexpr.c): using CTFE after error in struct default values | ||||
---|---|---|---|---|
| ||||
Posted in reply to Don | http://d.puremagic.com/issues/show_bug.cgi?id=10273 --- Comment #1 from github-bugzilla@puremagic.com 2013-06-05 04:12:30 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/5590e1ec349b0a92a29a13fb8ae81e9bd8eea5c2 Fix bug 10273: ICE(ctfeexpr.c): using CTFE after error in struct init https://github.com/D-Programming-Language/dmd/commit/9e87b082d6f6651580f13eaafef0c838c4cdb1b3 Merge pull request #2134 from donc/ctfe10273_icestructinit Fix bug 10273: ICE(ctfeexpr.c): using CTFE after error in struct init -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
June 06, 2013 [Issue 10273] ICE(ctfeexpr.c): using CTFE after error in struct default values | ||||
---|---|---|---|---|
| ||||
Posted in reply to Don | http://d.puremagic.com/issues/show_bug.cgi?id=10273 Henning Pohl <henning@still-hidden.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |henning@still-hidden.de Resolution| |FIXED -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation