[Issue 3382] New: Implement uniform function call syntax

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Oct 9 03:38:29 PDT 2009


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

           Summary: Implement uniform function call syntax
           Product: D
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: doob at me.com


--- Comment #0 from Jacob Carlborg <doob at me.com> 2009-10-09 03:38:28 PDT ---
Created an attachment (id=470)
The patch partly implements this enhancement

This is a suggestion to implement the uniform function call syntax that was
talked about in the first D conference. See the newsgroup thread for more info:
http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.D&article_id=97654

I've supplied a patch that partly implements this enhancement. Literals don't
work with the patch, this works with the patch: x.foo(), this doesn't work:
3.foo(). I think the parser or similar must be changed for 3.foo() to work.

I'm not sure if any of the added types in the patch should be removed or if
some other types should be added.

-- 
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