[Issue 13528] New: Internal Compiler Error: CTFE DotType:
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Wed Sep 24 10:32:09 PDT 2014
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 at puremagic.com
Reporter: acehreli at 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
--
More information about the Digitalmars-d-bugs
mailing list