scope: refuse `&x` where x is a local variable
[nit.git] / tests / error_type_not_ok2.nit
index 4e49e03..b259d44 100644 (file)
@@ -21,3 +21,5 @@ class B
        super Array[Fail]
 end
 
+var b = new B
+b.output