March 06, 2006 [Bug 23] New: DDoc Error: "static if conditional cannot be at global scope." | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/bugzilla/show_bug.cgi?id=23 Summary: DDoc Error: "static if conditional cannot be at global scope." Product: D Version: 0.148 Platform: PC OS/Version: Windows Status: NEW Keywords: rejects-valid Severity: normal Priority: P3 Component: DMD AssignedTo: walter@digitalmars.com ReportedBy: sean@f4.ca DMD DDoc generation will not accept static if blocks defined at class scope, though the code compiles cleanly to an executable. C:\code\d\bugs>type 148_1.d /** * */ struct MyStruct(T) { static if( true ) { void f1() {} } } void main() { } C:\code\d\bugs>dmd -D -o- 148_1.d 148_1.d(6): Error: static if conditional cannot be at global scope C:\code\d\bugs> -- |
April 28, 2006 [Bug 23] DDoc Error: "static if conditional cannot be at global scope." | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/bugzilla/show_bug.cgi?id=23 bugzilla@digitalmars.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #1 from bugzilla@digitalmars.com 2006-04-28 02:54 ------- Fixed 0.155 -- |
Copyright © 1999-2021 by the D Language Foundation