Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and
privacy statement. We’ll occasionally send you account related emails.
Already on GitHub?
to your account
scala> def foo(f: String => Array[String])(s: String) = ()
foo: (f: String => Array[String])(s: String)Unit
scala> foo _
res3: (String => Array[String]) => (String => Unit) = <function1>
scala> foo(Array(_)) _
<console>:9: error: No ClassTag available for String
It's a regression since 2.9.2, though there's a workaround:
res0: String => Unit = <function1>
The text was updated successfully, but these errors were encountered:
Imported From: https://issues.scala-lang.org/browse/SI-6673?orig=1
Affected Versions: 2.10.0-RC2
Sorry, something went wrong.
Successfully merging a pull request may close this issue.