Skip to content
New issue

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? Sign in to your account

missing parameter type for expanded function #6933

Closed
scabug opened this issue Jan 7, 2013 · 2 comments
Closed

missing parameter type for expanded function #6933

scabug opened this issue Jan 7, 2013 · 2 comments
Assignees

Comments

@scabug
Copy link

scabug commented Jan 7, 2013

This compiles with 2.9.2

scala> val l : List[_] = List(1,2,3)
l: List[_] = List(1, 2, 3)

scala> l.map( _.toString )
res0: List[java.lang.String] = List(1, 2, 3)

But does not with 2.10.0

scala> val l : List[_] = List(1,2,3)
l: List[_] = List(1, 2, 3)

scala> l.map( _.toString )
<console>:9: error: missing parameter type for expanded function ((x$1) => x$1.toString)
              l.map( _.toString )

I'm not sure if it's related to #5330, so I created another issue.

@scabug
Copy link
Author

scabug commented Jan 7, 2013

Imported From: https://issues.scala-lang.org/browse/SI-6933?orig=1
Reporter: Bruno Bieth (mustaghattack)
Duplicates #5330

@scabug
Copy link
Author

scabug commented Jan 7, 2013

@retronym said:
Yep, it's a duplicate of #5330. The fix is coming in 2.10.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants