[Issue 14177] New: ICE(statement.c) recursive aliases
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Fri Feb 13 23:22:11 PST 2015
https://issues.dlang.org/show_bug.cgi?id=14177
Issue ID: 14177
Summary: ICE(statement.c) recursive aliases
Product: D
Version: D2
Hardware: x86
OS: Linux
Status: NEW
Severity: normal
Priority: P1
Component: DMD
Assignee: nobody at puremagic.com
Reporter: ketmar at ketmar.no-ip.org
the following (dustmited) code gives ICE:
dmd: statement.c:752: ErrorStatement::ErrorStatement(): Assertion
`global.gaggedErrors || global.errors' failed.
=== cut here ===
alias Primitive = Atom*;
alias Atom = Primitive;
void main () {
Atom atom;
atom;
}
--
More information about the Digitalmars-d-bugs
mailing list