Add a test for that
This commit is contained in:
parent
89d3572a72
commit
6a431e9aa3
4
test/testShadowedDefaultArgument.krk
Normal file
4
test/testShadowedDefaultArgument.krk
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
def foo(print=print):
|
||||||
|
print("hello world")
|
||||||
|
|
||||||
|
foo()
|
1
test/testShadowedDefaultArgument.krk.expect
Normal file
1
test/testShadowedDefaultArgument.krk.expect
Normal file
@ -0,0 +1 @@
|
|||||||
|
hello world
|
Loading…
Reference in New Issue
Block a user