Bug 14621 – [REG2.066] ICE: Assertion failure: 'global.gaggedErrors || global.errors' on line 752 in file 'statement.c'

Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2015-05-26T14:33:00Z
Last change time
2015-08-29T09:32:44Z
Keywords
ice, pull
Assigned to
nobody
Creator
renezwanenburg

Comments

Comment #0 by renezwanenburg — 2015-05-26T14:33:49Z
Reduced code: void main() { S s; s.foo(); } struct S { float[] array; alias array this; template erroneousTemplateInstantiation() { static assert(false); } void foo() { S ret; ret[] = erroneousTemplateInstantiation!(); } }
Comment #1 by dlang-bugzilla — 2015-05-26T14:47:00Z
Comment #2 by k.hara.pg — 2015-05-28T15:12:46Z
Comment #3 by code — 2015-07-21T11:57:25Z
First release affected was 2.066.0.
Comment #4 by github-bugzilla — 2015-08-29T07:40:28Z
Commits pushed to stable at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/6fcef51018ab366fb8fd7ec011597e08bb65f9ec fix Issue 14621 - ICE: Assertion failure: 'global.gaggedErrors || global.errors' on line 752 in file 'statement.c' https://github.com/D-Programming-Language/dmd/commit/d99699301eb0f5d46b4f9240236ca7c1694bb39b Merge pull request #4948 from 9rnsr/fix14621 Issue 14621, 14624, 14625 - Fix bugs in array operator overloading semantics
Comment #5 by github-bugzilla — 2015-08-29T09:32:44Z
Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/6fcef51018ab366fb8fd7ec011597e08bb65f9ec fix Issue 14621 - ICE: Assertion failure: 'global.gaggedErrors || global.errors' on line 752 in file 'statement.c' https://github.com/D-Programming-Language/dmd/commit/d99699301eb0f5d46b4f9240236ca7c1694bb39b Merge pull request #4948 from 9rnsr/fix14621