Closed JSAbrahams closed 1 year ago
def fun_a() => print("hello world") def fun_b(x: Int) => print("hello {x}") fun_a() fun_b("asdf")
Should give an error because "asdf" is a string but not an int, but no error given. Surprised we didn't have a sad test for this.
"asdf"
How to Reproduce
Expected behavior
Should give an error because
"asdf"
is a string but not an int, but no error given. Surprised we didn't have a sad test for this.Additional context