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 "Coercible" conversion for user classes #2

Open
RobertFischer opened this issue Oct 27, 2010 · 1 comment
Open

Missing "Coercible" conversion for user classes #2

RobertFischer opened this issue Oct 27, 2010 · 1 comment

Comments

@RobertFischer
Copy link

If you create a class and try to do convert a Java collection to a Scala one via "asScala", you get an error about missing an implicit argument "c", which looks like the Coercible definition. That "CoercibleSelf" doesn't seem to be making it into my code.

import scalaj.collections.Implicits._

Sample code:
class Foo
val x = new java.util.ArrayListFoo
x.add(new Foo())
x.asScala

Doesn't look like you've got a testing harness set up for the project, or I'd hand you a proper test case demonstrating the issue.

@pablomendes
Copy link

+1 on this issue

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

No branches or pull requests

2 participants