September 24, 2014 [Issue 13528] New: Internal Compiler Error: CTFE DotType: | ||||
---|---|---|---|---|
| ||||
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 -- |
Copyright © 1999-2021 by the D Language Foundation