← Back to index
|
Original Bugzilla link
Bug 13260 – [D1] ICE accessing non-existent aggregate member
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P1
Component
dmd
Product
D
Version
D1 (retired)
Platform
All
OS
All
Creation time
2014-08-05T10:41:00Z
Last change time
2014-08-06T09:09:57Z
Keywords
ice-on-invalid-code, pull
Assigned to
nobody
Creator
public
Comments
Comment #0
by public — 2014-08-05T10:41:44Z
=========== struct A { } void main() { A.foo!(42) x; } =========== dmd1: mtype.c:3455: void TypeQualified::resolveHelper(Loc, Scope*, Dsymbol*, Dsymbol*, Expression**, Type**, Dsymbol**): Assertion `id->dyncast() == DYNCAST_IDENTIFIER' failed. =========== fix was trivial, pull request incoming
Comment #1
by public — 2014-08-05T10:52:38Z
https://github.com/D-Programming-Language/dmd/pull/3845
Comment #2
by github-bugzilla — 2014-08-06T09:08:02Z
Commits pushed to dmd-1.x at
https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/f50c0e8d8698ded6b3cf2ecc1fc683bc868adbe6
Issue 13260 : ICE accessing non-existent member Replaces assertion with an error. Does not change language semantics but makes possible to check for presence of such members in `is` expression.
https://github.com/D-Programming-Language/dmd/commit/91429dcd6f0dff1ee2da36cfad9163aa12624d6b
Merge pull request #3845 from mihails-strasuns-sociomantic/fix13260-ice [D1] Issue 13260 : ICE accessing non-existent member