rsc icon indicating copy to clipboard operation
rsc copied to clipboard

Function of a single tuple is ascribed incorrect parentheses

Open wiwa opened this issue 6 years ago • 0 comments

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

wiwa avatar Aug 08 '19 17:08 wiwa