D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 6719 - "Error: out of memory" in parsing
Summary: "Error: out of memory" in parsing
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: All All
: P1 major
Assignee: No Owner
URL:
Keywords: ice-on-valid-code, patch
Depends on:
Blocks:
 
Reported: 2011-09-23 10:09 UTC by Kenji Hara
Modified: 2015-06-17 21:03 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Kenji Hara 2011-09-23 10:09:09 UTC
Following code causes "Error: out of memory" in parsing.

pragma(msg, __traits(compiles, mixin("(const(A))[0..0]")));
Comment 2 Kenji Hara 2011-09-24 04:02:55 UTC
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.
Comment 4 github-bugzilla 2015-03-29 07:39:08 UTC
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
Comment 5 github-bugzilla 2015-06-17 21:03:36 UTC
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