https://issues.dlang.org/show_bug.cgi?id=16461
Issue ID: 16461
Summary: Using the fully qualified type of an object within its
own scope causes an error
Product: D
Version: D2
Hardware: x86_64
OS: Windows
Status: NEW
Severity: critical
Priority: P1
Component: dmd
Assignee: [email protected]
Reporter: [email protected]
This one's quite easy to reproduce, and I can probably work around it with a
small bit of pain. Had to painstakingly reduce code in a mixin/mixin template
combo by hand to get it down to this minimal case, which is another issue
entirely...
Output: Error: undefined identifier 'Test' in package 'thismodule'
Code:
module thismodule;
struct Test
{
pragma( msg, thismodule.Test.stringof );
}
--