Thread overview |
---|
December 20, 2007 [Issue 1744] New: CTFE: crash on assigning void-returning function to variable | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=1744 Summary: CTFE: crash on assigning void-returning function to variable Product: D Version: 1.024 Platform: PC OS/Version: Windows Status: NEW Keywords: ice-on-invalid-code Severity: minor Priority: P3 Component: DMD AssignedTo: bugzilla@digitalmars.com ReportedBy: matti.niemenmaa+dbugzilla@iki.fi void foo() {} int bar() { int x = foo(); } const y = bar(); No ICE, just crashes. Does give the expected error messages for trying to assign void to int though, so it's not that bad. -- |
January 01, 2008 [Issue 1744] CTFE: crash on assigning void-returning function to variable | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=1744 ------- Comment #1 from matti.niemenmaa+dbugzilla@iki.fi 2008-01-01 11:22 ------- Fixed in DMD 1.025. -- |
January 03, 2008 [Issue 1744] CTFE: crash on assigning void-returning function to variable | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=1744 bugzilla@digitalmars.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #2 from bugzilla@digitalmars.com 2008-01-02 19:47 ------- Fixed dmd 1.025 and 2.009 -- |
Copyright © 1999-2021 by the D Language Foundation