Ludovic Courtès
|
f67ddf9dbf
|
Add compiler warning for possibly unbound variables.
* module/language/tree-il/analyze.scm (<toplevel-info>): New record
type.
(env-module, report-possibly-unbound-variables): New procedures.
* module/language/tree-il/compile-glil.scm (%warning-passes): Add
`unbound-variable'.
* module/system/base/message.scm (%warning-types): Likewise.
* test-suite/tests/tree-il.test (read-and-compile, %opts-w-unbound):
New.
("warnings")["unbound variable"]: New test prefix.
|
2009-10-06 23:41:39 +02:00 |
|