http://d.puremagic.com/issues/show_bug.cgi?id=1759


Salih Dincer <sali...@hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |sali...@hotmail.com
         Resolution|                            |INVALID


--- Comment #1 from Salih Dincer <sali...@hotmail.com> 2012-08-07 20:56:08 PDT 
---
This is not a bug it's a feature,
there's solution:

void main() {
  struct SS {
   int a, b, c;
  }
  int delegate () addss(SS obj){
    return {
      with(obj) return a+b+c;
    };
  }
  addss(SS(7, 10, 60))().writeln("(total numbers 77)");
}

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to