Bug 13528 – Internal Compiler Error: CTFE DotType:

Status
RESOLVED
Resolution
FIXED
Severity
critical
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2014-09-24T17:32:00Z
Last change time
2015-02-18T03:41:15Z
Keywords
ice, pull
Assigned to
nobody
Creator
acehreli

Comments

Comment #0 by acehreli — 2014-09-24T17:32:09Z
import std.traits; mixin template MyTemplate() { void foo() { pragma(msg, __traits(getMember, typeof(this), "foo")); } } class A { mixin MyTemplate; } void main() { auto a = new A(); } Error: Internal Compiler Error: CTFE DotType: this.A while evaluating pragma(msg, __traits(getMember, A, "foo")) Ali
Comment #1 by k.hara.pg — 2014-12-10T15:58:45Z
Comment #2 by github-bugzilla — 2014-12-14T22:29:34Z
Comment #3 by github-bugzilla — 2015-02-18T03:41:15Z