digitalmars.D.bugs - [Issue 16461] New: Using the fully qualified type of an object
- via Digitalmars-d-bugs (26/26) Sep 02 2016 https://issues.dlang.org/show_bug.cgi?id=16461
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: nobody puremagic.com Reporter: gooberman gmail.com 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 ); } --
Sep 02 2016