[Issue 340] [Tracker] Forward reference bugs and other order-of-declaration issues

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Nov 13 19:30:43 PST 2008


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





------- Comment #6 from jarrett.billingsley at gmail.com  2008-11-13 21:30 -------
I think if you want to define forward references in the restricted classical
definition of "lexical precedence," then bugs like 1667 would not be covered by
this one.  But it would be a pointless distinction between lexical forward
references and semantic ones.  Any time the compiler outputs an error about
forward references/declarations, it means it's not walking the symbol
dependency graph in the correct order.  That the compiler sometimes resolves
dependencies lexically and sometimes not is irrelevant to the fact that it is
resolving them incorrectly.

(funny - your last two comments were posted one year apart to the day.)


-- 



More information about the Digitalmars-d-bugs mailing list