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"); }
https://github.com/D-Programming-Language/dmd/pull/4146
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'
Commits pushed to 2.067 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