Don't make locals in scope in their own initializer.
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
// skip: Variables should not be in scope in their initializer.
|
||||
{
|
||||
var a = a + 1 // expect error
|
||||
IO.print(a)
|
||||
|
||||
Reference in New Issue
Block a user