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


Andrej Mitrovic <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]
         Resolution|                            |INVALID


--- Comment #1 from Andrej Mitrovic <[email protected]> 2012-12-02 
06:07:23 PST ---
Maybe you're misreading the runtime assert error as a compiler error?

OTOH if you're trying to declare the return type as 'A', that won't work
because A is not a type.

Unfortunately DMD allows nonsense like this:

enum dummy(in int i) { }

The 'enum' here acts as a placeholder as if you've declared it 'auto'.

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

Reply via email to