twitter/rsc

Function of a single tuple is ascribed incorrect parentheses

wiwa opened this issue · 0 comments

wiwa commented

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