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: nob...@puremagic.com ReportedBy: d...@me.com --- Comment #0 from Jacob Carlborg <d...@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: -------