Summary: can call method without this pointer inside is()
           Product: D
           Version: 1.057
          Platform: Other
        OS/Version: All
            Status: NEW
          Keywords: accepts-invalid, rejects-valid
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from 2010-04-05 03:47:40 PDT ---
The following compiles. Not sure if this is a bug or a feature, so I'm
reporting this as a bug. Close as invalid if it's actually a feature.

class X {
    void x(int a) {

void main() {
   static assert(is( typeof({ X.x(1); }) ));

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to