Closed JSAbrahams closed 4 years ago
Functions with default arguments still require that all the arguments be passed.
def f(x: Int, y: Int <- 10) -> Int => x + y # works fine f(10, 20) # throws an error f(10)
Functions with defaults should not require that these arguments be given.
Description of Bug
Functions with default arguments still require that all the arguments be passed.
How to Reproduce
Expected behaviour
Functions with defaults should not require that these arguments be given.