[Issue 8635] Allow postfix expressions for new
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Sun Sep  9 16:44:30 PDT 2012
    
    
  
http://d.puremagic.com/issues/show_bug.cgi?id=8635
Jonathan M Davis <jmdavisProg at gmx.com> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jmdavisProg at gmx.com
--- Comment #2 from Jonathan M Davis <jmdavisProg at gmx.com> 2012-09-09 16:45:01 PDT ---
It already works if you use parens:
assert((new C(2)).x == 2);
I don't know if making it work without parens is a good idea or not, since I
really don't know that the side effects of that would be.
-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
    
    
More information about the Digitalmars-d-bugs
mailing list