hughperman / pure-lang

Automatically exported from code.google.com/p/pure-lang
0 stars 0 forks source link

Undeclared symbol warnings #94

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
-w gives a warning if a constructor symbol in the lhs of a rule hasn't been 
declared yet. Maybe we should only emit this warning for symbols on the rhs?

Original issue reported on code.google.com by aggraef@gmail.com on 28 Sep 2012 at 8:38

GoogleCodeExporter commented 8 years ago
Maybe it's actually better to keep it the way it is, so that constructor 
symbols on the lhs of an equation may be cross-checked against declarations. 
The warning is only mildly annoying, but provides some extra safety.

Original comment by aggraef@gmail.com on 13 Nov 2012 at 4:54