www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 3382] New: Implement uniform function call syntax

reply d-bugmail puremagic.com writes:
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 puremagic.com
        ReportedBy: doob me.com


--- Comment #0 from Jacob Carlborg <doob 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: -------
Oct 09 2009
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=3382


Torarin <torarind gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |torarind gmail.com


--- Comment #1 from Torarin <torarind gmail.com> 2010-09-01 05:49:36 PDT ---
This is feature is described in TDPL under 5.9.1 "Pseudo Members and  property
Attribute".

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Sep 01 2010
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=3382


Torarin <torarind gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Implement uniform function  |TDPL Implement uniform
                   |call syntax                 |function call syntax
           Severity|enhancement                 |normal


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