Avoid duplicate definitions for goto, fixes #1514

This commit is contained in:
Dave Halter
2020-03-13 02:22:05 +01:00
parent fb72e1b448
commit b4fa42a282
2 changed files with 10 additions and 1 deletions

View File

@@ -422,3 +422,11 @@ with Foo() as f3:
#? 6 Foo
with Foo() as f3:
f3
# -----------------
# Avoiding multiple definitions
# -----------------
some_array = ['', '']
#! ['def upper']
some_array[some_not_defined_index].upper