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


Stewart Gordon <s...@iname.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |s...@iname.com


--- Comment #2 from Stewart Gordon <s...@iname.com> 2010-07-28 16:40:28 PDT ---
(In reply to comment #1)
> string (*a)();
> 
> which I think is pretty unambiguous.

It isn't.  Could be a function called string, which is being called with
argument (*a), and the function returned from that call then called with an
empty argument list.

D grammar aims to be unambiguous.  Removing C-style casts has already been a
step in the right direction.  Removing C-style function pointer declarations
would be another.

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

Reply via email to