Summary: Regression(2.054 beta): Property getter/setter
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: wrong-code
          Severity: regression
          Priority: P2
         Component: DMD

--- Comment #0 from Kenji Hara <> 2011-07-29 05:00:11 PDT ---
This is regression of fixing bug3511.

static int value;
ref foo(){ printf("getter\n"); return value; }
ref foo(int x){ printf("setter\n"); value = x; return value; }

void main(){ foo = 1; }  // Should print "setter", but print "getter" in 2.054

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

Reply via email to