Files
wren/test/language/variable/undefined_local.wren
2015-11-27 21:17:34 -08:00

6 lines
195 B
Plaintext

// Error is on last line because this assumes "notDefined" is an implicitly
// defined global until it reaches the end of the file.
fn () {
System.print(notDefined) // expect error line 6
}()