D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 10397 - ICE on concatenating string with unexisted symbol
Summary: ICE on concatenating string with unexisted symbol
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: All All
: P2 regression
Assignee: No Owner
URL:
Keywords: ice
: 10412 (view as issue list)
Depends on:
Blocks:
 
Reported: 2013-06-18 02:06 UTC by Denis Shelomovskii
Modified: 2013-06-20 01:55 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Denis Shelomovskii 2013-06-18 02:06:13 UTC
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 Henning Pohl 2013-06-19 13:13:05 UTC
*** Issue 10412 has been marked as a duplicate of this issue. ***
Comment 2 github-bugzilla 2013-06-20 01:51:38 UTC
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.