[Issue 6105] New: "static:" doesn't qualify static this constructors
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Jun 4 17:28:26 PDT 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6105
Summary: "static:" doesn't qualify static this constructors
Product: D
Version: D2
Platform: x86
OS/Version: Mac OS X
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: sanduleac.dan at gmail.com
--- Comment #0 from Dan Sănduleac <sanduleac.dan at gmail.com> 2011-06-04 17:23:57 PDT ---
import std.stdio;
class test {
static:
this() {
writeln("I should be seen!");
}
}
void main() {
}
This program doesn't execute the static this() constructor. Changing the syntax
to "static this" makes it work.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list