← Back to index
|
Original Bugzilla link
Bug 11629 – [CTFE] crash on AA.rehash
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-11-27T18:41:00Z
Last change time
2013-12-09T22:06:46Z
Keywords
CTFE, ice, pull
Assigned to
nobody
Creator
k.hara.pg
Comments
Comment #0
by k.hara.pg — 2013-11-27T18:41:16Z
From:
http://forum.dlang.org/post/
[email protected]
Test case: struct Base { alias T = ubyte, Char = char; alias String = immutable(Char)[]; const Char[T] toChar; this( int _dummy ) { Char[T] toCharTmp = [0:'A']; toChar = toCharTmp.rehash; } } void main() { //auto rt = Base(4); // OK enum ct = Base(4); // crash }
Comment #1
by k.hara.pg — 2013-11-27T18:48:54Z
https://github.com/D-Programming-Language/dmd/pull/2893
Comment #2
by github-bugzilla — 2013-12-09T22:06:34Z
Commits pushed to master at
https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/36cabb9d17374f61b4bdbb195adc794addd39bd5
fix Issue 11629 - [CTFE] crash on AA.rehash
https://github.com/D-Programming-Language/dmd/commit/cf0a8a4cd1f56461bcb48e3bb7de001620a31a29
Merge pull request #2893 from 9rnsr/fix11629 Issue 11629 - [CTFE] crash on AA.rehash