This commit is contained in:
commit
568474d52f
1591 files changed
+528213
No files matched your search
@@ -0,0 +1,7 @@
|
||||
# probe: is a var declared inside an if still there after it? (no: the name ends with the block)
|
||||
# expect: compile-error
|
||||
def main():
|
||||
var n = 3
|
||||
if n > 0:
|
||||
var inner = 5
|
||||
print(inner)
|
||||
Reference in new issue
Block a user