You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
deffoo(t: (Int, String)) = t
// before - compiles just fine
foo(1, "test")
// after - error-- [E007] TypeMismatchError:-------------------------------------------------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)
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: