digitalmars.D.bugs - [Issue 13309] New: DMD accepts yet another invalid alias declaration
- via Digitalmars-d-bugs (23/23) Aug 16 2014 https://issues.dlang.org/show_bug.cgi?id=13309
https://issues.dlang.org/show_bug.cgi?id=13309 Issue ID: 13309 Summary: DMD accepts yet another invalid alias declaration Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: normal Priority: P1 Component: DMD Assignee: nobody puremagic.com Reporter: briancschott gmail.com alias extern(Windows) HRESULT fnNtQuerySystemInformation( uint SystemInformationClass, void* info, uint infoLength, uint* ReturnLength ) nothrow; This does not match any documented form of alias declaration, yet it is accepted by DMD. Maybe this was supposed to be alias fnNtQuerysystemInformation = extern(windows) HRESULT function( uint SystemInformationClass, void* info, uint infoLength, uint* ReturnLength ) nothrow; --
Aug 16 2014