August 07, 2010
http://d.puremagic.com/issues/show_bug.cgi?id=3867


nfxjfg@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nfxjfg@gmail.com


--- Comment #10 from nfxjfg@gmail.com 2010-08-06 20:32:24 PDT ---
May I ask why there are so many forward ref bugs in general and why fixing these bugs often causes other regressions? Just look at regressions like bug 4210...

Is the dmd code quality that bad or what?

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
August 07, 2010
http://d.puremagic.com/issues/show_bug.cgi?id=3867



--- Comment #11 from Don <clugdbug@yahoo.com.au> 2010-08-07 10:17:42 PDT ---
(In reply to comment #10)
> May I ask why there are so many forward ref bugs in general and why fixing these bugs often causes other regressions? Just look at regressions like bug 4210...
> 
> Is the dmd code quality that bad or what?

No. To fix a forward reference bug, you need to change the order in which the compiler performs its semantic pass. And this is difficult, largely because it's quite difficult for the compiler to 'undo' analysis which it's already done. So it's very easy to get wrong.

This is why most languages which are similar to D (eg, C++) don't allow
arbitrary forward references.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
December 19, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=3867


Don <clugdbug@yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


--- Comment #12 from Don <clugdbug@yahoo.com.au> 2011-12-19 03:22:47 PST ---
Fixed in DMD 1.071, probably as part of the fixes to error gagging.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
1 2
Next ›   Last »