Python ESSA: Remove method-callsite definitions when call is in a test defining a pi-node.

This commit is contained in:
Mark Shannon
2019-06-06 12:52:27 +01:00
parent f7620aec37
commit 0f0dc81291
15 changed files with 75 additions and 1 deletions

View File

@@ -106,3 +106,10 @@ def not_or_not(*a):
raise Exception()
"Hello"
def method_check(x):
if x.m():
use(x)
else:
use(x)