Bug 10397 – ICE on concatenating string with unexisted symbol

Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-06-18T02:06:00Z
Last change time
2013-06-20T01:55:45Z
Keywords
ice
Assigned to
nobody
Creator
verylonglogin.reg

Comments

Comment #0 by verylonglogin.reg — 2013-06-18T02:06:13Z
The following code used to compile as previously it was accept-invalid bug: --- void main() { enum e = "" ~ a; } --- Nevertheless marked as regression as it causes ICE on code used to compile.
Comment #1 by henning — 2013-06-19T13:13:05Z
*** Issue 10412 has been marked as a duplicate of this issue. ***
Comment #2 by github-bugzilla — 2013-06-20T01:51:38Z
Commit pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/990a6c661fac04d5f404da548885762337df4a9b Fix issue 10397 ICE with __error in concatenation ErrorExp was allowing implicit conversions in some cases, because it is derived from IntegerExp! This made errors become un-errors again in some circumstances.