digitalmars.D.bugs - [Issue 13528] New: Internal Compiler Error: CTFE DotType:
- via Digitalmars-d-bugs (33/33) Sep 24 2014 https://issues.dlang.org/show_bug.cgi?id=13528
https://issues.dlang.org/show_bug.cgi?id=13528 Issue ID: 13528 Summary: Internal Compiler Error: CTFE DotType: Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: normal Priority: P1 Component: DMD Assignee: nobody puremagic.com Reporter: acehreli yahoo.com 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 --
Sep 24 2014