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
scala>caseclassFoo(x: Int)(xs: String*)
// defined case class Foo
scala>Foo(3)
-- [E081] TypeError:----------------------------------------------------------1|Foo(3)
|^|Missing parameter type||I could not infer the typeof the parameter xs.
1 error found
Expectation
Notify the user that the argument list for xs is mandatory instead of telling them that the type cannot be inferred.