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

--- Comment #0 from Dan S─ânduleac <> 2011-06-04 17:23:57 
PDT ---
import std.stdio;

class test {
  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:
------- You are receiving this mail because: -------

Reply via email to