I just discovered that auto tupling is enabled by default in Scala 3 but can be disabled with this flag. Would you be open to adding it?
For example
def foo(t: (Int, String)) = t
// before - compiles just fine
foo(1, "test")
// after - error
-- [E007] Type Mismatch Error: -------------------------------------------------
1 |foo(1, "test")
| ^
| Found: (1 : Int)
| Required: (Int, String)
|
| longer explanation available when compiling with `-explain`
-- Error: ----------------------------------------------------------------------
1 |foo(1, "test")
| ^^^^^^
| too many arguments for method foo: (t: (Int, String)): (Int, String)
I just discovered that auto tupling is enabled by default in Scala 3 but can be disabled with this flag. Would you be open to adding it?
For example