Skip to content

Commit

Permalink
Add 'complex_unistatement_lambdas' tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Scony committed Sep 12, 2024
1 parent e3c5a02 commit b7246ac
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
func foo(x):
pass
func bar(x,y):
pass

func baz():
foo(func(): pass)
bar(func(): pass,func(): pass)
var x1 = [func(): pass,func(): pass]
var x2 = [func(): pass,func():pass,]
var x3 = {'x':func(): pass,'y':func(): pass}
var x4 = {'x':func(): pass,'y':func(): pass,}
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
func foo(x):
pass


func bar(x, y):
pass


func baz():
foo(func(): pass)
bar(func(): pass, func(): pass)
var x1 = [func(): pass, func(): pass]
var x2 = [
func(): pass,
func(): pass,
]
var x3 = {"x": func(): pass, "y": func(): pass}
var x4 = {
"x": func(): pass,
"y": func(): pass,
}

0 comments on commit b7246ac

Please sign in to comment.