PY-15342 Initial attempt to handle global references to moved symbol

This commit is contained in:
Mikhail Golubev
2015-03-30 16:46:31 +03:00
parent c7bfe12238
commit 9569af6e81
6 changed files with 89 additions and 8 deletions
@@ -0,0 +1,5 @@
import b
def func():
b.VAR += 1
@@ -0,0 +1 @@
VAR = 42
@@ -0,0 +1,6 @@
VAR = 42
def func():
global VAR
VAR += 1