Make sure that function executions are errors as well, see #90

This commit is contained in:
Dave Halter
2019-12-14 23:23:00 +01:00
parent 5fda85275b
commit dbba1959f7
2 changed files with 5 additions and 0 deletions

View File

@@ -327,6 +327,7 @@ if sys.version_info[:2] >= (3, 8):
'(lambda: x := 1)',
# Case 3
'(a[i] := x)',
'(a(i) := x)',
# Case 4
'(a.b := c)',
# Case 5