Thread overview
[Issue 3382] New: Implement uniform function call syntax
Oct 09, 2009
Jacob Carlborg
Sep 01, 2010
Torarin
[Issue 3382] TDPL Implement uniform function call syntax
Sep 01, 2010
Torarin
Nov 18, 2011
Nick Sabalausky
[Issue 3382] [tdpl] Implement uniform function call syntax
Dec 26, 2011
Kenji Hara
Dec 26, 2011
Kenji Hara
Mar 08, 2012
Walter Bright
October 09, 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@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: -------
September 01, 2010
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: -------
September 01, 2010
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: -------
November 18, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=3382


Nick Sabalausky <cbkbbejeap@mailinator.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |a11160678@nepwk.com


--- Comment #2 from Nick Sabalausky <cbkbbejeap@mailinator.com> 2011-11-18 07:33:09 PST ---
*** Issue 6970 has been marked as a duplicate of this issue. ***

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
December 26, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=3382



--- Comment #3 from Kenji Hara <k.hara.pg@gmail.com> 2011-12-26 05:42:06 PST ---
Related:
- Issue 662 - Allow UFCS for basic types and enums
- Issue 6277 - Disallow short floating point literals

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
December 26, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=3382


Kenji Hara <k.hara.pg@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch


--- Comment #4 from Kenji Hara <k.hara.pg@gmail.com> 2011-12-26 06:16:50 PST ---
https://github.com/D-Programming-Language/dmd/pull/582 https://github.com/D-Programming-Language/phobos/pull/378

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
March 08, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=3382



--- Comment #5 from github-bugzilla@puremagic.com 2012-03-07 23:19:18 PST ---
Commit pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/b7742f7a733ff73d364c6ed54af70d875d7e911b Merge pull request #582 from 9rnsr/fix3382_ufcs

Issue 3382 - [tdpl] Implement uniform function call syntax

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
March 08, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=3382


Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


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