Summary: "auto x = new shared foo" does not compile
           Product: D
           Version: 2.030
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Keywords: rejects-valid
          Severity: normal
          Priority: P2
         Component: DMD

Created an attachment (id=402)
 --> (
File demonstrating the issue

Attached is a simple test case that I think should compile.  It seems that
shared foo must be replaced with shared(foo).  It's certainly easier to type in
the way I'm hoping for.  Things get a bit ridiculous when templates are
involved auto x = new shared(foo!(bar, baz))(alpha, beta);  Anything that can
be done to reduce the parenthesis is nice.

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

Reply via email to