Bug 13714 – [REG2.066.1] Assertion failure: '0' on line 2022 in file 'mtype.c'

Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2014-11-11T15:08:00Z
Last change time
2015-02-18T03:39:38Z
Keywords
ice, pull
Assigned to
nobody
Creator
andre

Comments

Comment #0 by andre — 2014-11-11T15:08:29Z
Following coding works with 2.066 but fails to compile with 2.066.1: Assertion failure: '0' on line 2022 in file 'mtype.c' is raised during compiling. enum DummyStringEnum { foo = "bar" } class Test { @property DummyStringEnum e() { return DummyStringEnum.foo; } } void main() { import std.json; JSONValue[string] jsPayload; jsPayload["A"] = __traits(getMember, new Test(), "e"); }
Comment #1 by k.hara.pg — 2014-11-16T09:53:57Z
Comment #2 by github-bugzilla — 2014-11-16T11:10:00Z
Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/b041ff5440722d3d09fac05deb3c718bfd183c51 fix Issue 13714 - Assertion failure: '0' on line 2022 in file 'mtype.c' https://github.com/D-Programming-Language/dmd/commit/929df331066b2206b19b52d238862310eeff574b Merge pull request #4146 from 9rnsr/fix13714 [REG2.066.1] Issue 13714 - Assertion failure: '0' on line 2022 in file 'mtype.c'
Comment #3 by github-bugzilla — 2015-02-18T03:39:38Z