rsc
rsc copied to clipboard
Function of a single tuple is ascribed incorrect parentheses
Expected:
def foo = (x: (String, Int)) => x._2
Obtained:
def foo: (String, Int) => Int = (x: (String, Int)) => x._2
Expected:
def foo: ((String, Int)) => Int = (x: (String, Int)) => x._2