Bug 9014 – ICE(glue.c) line 1225: with array.front and missing array

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2012-11-12T20:25:00Z
Last change time
2012-11-14T08:16:46Z
Keywords
ice, pull
Assigned to
nobody
Creator
bearophile_hugs

Comments

Comment #0 by bearophile_hugs — 2012-11-12T20:25:06Z
foo() is reduced from array.front: @property ref int foo(int[] a) { return a[0]; } void main() { int[] bar; bar.foo = missing.foo; } DMD 2.061alpha prints: Assertion failure: '0' on line 1225 in file 'glue.c'
Comment #1 by k.hara.pg — 2012-11-13T22:29:00Z
Comment #2 by github-bugzilla — 2012-11-14T06:01:34Z
Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/3c2ddd90bed08abdf064091e9b56d55bc692dde8 fix Issue 9014 - ICE(glue.c) line 1225: with array.front and missing array UFCS property setter semantic should not gagging errors in e2. https://github.com/D-Programming-Language/dmd/commit/8b45f5e06a8e3a23aa246dcba966c6f0db28331e Merge pull request #1286 from 9rnsr/fix9014 Issue 9014 - ICE(glue.c) line 1225: with array.front and missing array