← Back to index
|
Original Bugzilla link
Bug 12042 – "CTFE internal error: Dotvar assignment" with template method and "with"
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2014-01-30T06:33:00Z
Last change time
2014-02-27T14:44:11Z
Keywords
CTFE, ice, pull, rejects-valid
Assigned to
nobody
Creator
dlang-bugzilla
Comments
Comment #0
by dlang-bugzilla — 2014-01-30T06:33:22Z
struct S { int[] t; void m()() { t = null; } } int f() { S s; with (s) m!()(); return 0; } enum e = f();
Comment #1
by k.hara.pg — 2014-01-30T07:39:16Z
https://github.com/D-Programming-Language/dmd/pull/3065
Comment #2
by github-bugzilla — 2014-02-27T12:38:14Z
Commit pushed to master at
https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/056e1dc2ce360fc9f4b71c0ef2948a6484eb1af5
fix Issue 12042 - "CTFE internal error: Dotvar assignment" with template method and "with"