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: nob...@puremagic.com
        ReportedBy: sanduleac....@gmail.com


--- Comment #0 from Dan S─ânduleac <sanduleac....@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: -------

Reply via email to