← Back to index
|
Original Bugzilla link
Bug 12201 – Crash on forward reference import within mixed in template
Status
RESOLVED
Resolution
FIXED
Severity
major
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2014-02-18T22:43:00Z
Last change time
2015-06-17T21:03:29Z
Keywords
ice, pull
Assigned to
nobody
Creator
dlang-bugzilla
Comments
Comment #0
by dlang-bugzilla — 2014-02-18T22:43:46Z
template T() { std.foo bar; } struct S { mixin T; import std.stdio; }
Comment #1
by k.hara.pg — 2014-02-19T02:26:54Z
Even if the import is valid, it will crash. template T() { core.stdc.stdio.FILE* fp; } struct S { mixin T; import core.stdc.stdio; } So this is a forward reference issue.
Comment #2
by k.hara.pg — 2014-02-19T02:28:26Z
https://github.com/D-Programming-Language/dmd/pull/3286
Comment #3
by github-bugzilla — 2014-02-19T16:20:52Z
Commits pushed to master at
https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/b536fd67871716a3ad6dd03792be91a6c1e95194
fix Issue 12201 - Crash on forward reference import within mixed in template
https://github.com/D-Programming-Language/dmd/commit/544577d3a815185fa087db30cfa666d4c737da0d
Merge pull request #3286 from 9rnsr/fix12201 Issue 12201 - Crash on forward reference import within mixed in template
Comment #4
by github-bugzilla — 2014-02-22T08:33:15Z
Commit pushed to 2.065 at
https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/8aed085825dbf3dbd7ae90b848fa6eb2458bd9a0
Merge pull request #3286 from 9rnsr/fix12201 Issue 12201 - Crash on forward reference import within mixed in template
Comment #5
by github-bugzilla — 2015-03-30T06:10:44Z
Commit pushed to master at
https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/e1db093d7373076379c65702c9218ed950c0ecca
Move issue 12201 test case to compilable/testfwdref.d
Comment #6
by github-bugzilla — 2015-06-17T21:03:29Z
Commit pushed to stable at
https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/e1db093d7373076379c65702c9218ed950c0ecca
Move issue 12201 test case to compilable/testfwdref.d