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

           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
        AssignedTo: nob...@puremagic.com
        ReportedBy: fa...@gmx.ch


--- Comment #0 from Fawzi Mohamed <fa...@gmx.ch> 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
templates.

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: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to