Summary: forward delcaration generates very stange bug
           Product: D
           Version: 1.057
          Platform: Other
        OS/Version: Mac OS X
            Status: NEW
          Severity: regression
          Priority: P2
         Component: DMD

--- Comment #0 from Fawzi Mohamed <> 2010-03-01 11:36:16 PST ---
Created an attachment (id=576)
a program showing the bug

a forward declaration of an enum constant makes the ctfe evaluation of a
tempated function return the function call as result when called inside some

I think that this is a regression since 1.048 (1.047 works).

The connection of very distant pieces of code, sensibility to small changes
makes it a very ugly bug to track down.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to