Following code causes "Error: out of memory" in parsing. pragma(msg, __traits(compiles, mixin("(const(A))[0..0]")));
https://github.com/D-Programming-Language/dmd/pull/408
The probability of hitting this problem is not big, but the impact is serious. This issue constantly breaks my the code that I use. I hope that this bug will be fixed urgently.
https://github.com/D-Programming-Language/dmd/commit/8e42f064a3f9aba19fb437dc836b2b9507a49b52
Commit pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/7659fac0883fff9e9e8bfcdc8b8233457047656c Move issue 6719 test case to compilable/testparse.d
Commit pushed to stable at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/7659fac0883fff9e9e8bfcdc8b8233457047656c Move issue 6719 test case to compilable/testparse.d