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

PPrint compile error on Any #306

Closed
lihaoyi opened this issue Dec 12, 2015 · 2 comments
Closed

PPrint compile error on Any #306

lihaoyi opened this issue Dec 12, 2015 · 2 comments
Labels

Comments

@lihaoyi
Copy link
Member

lihaoyi commented Dec 12, 2015

For some reason, Any blows up but AnyRef seems fine

haoyi-Ammonite@ ??? : Any
Compilation Failed
Main.scala:153: diverging implicit expansion for type pprint.PPrinter[A]
starting with method pathRepr in object PPrints
              .print(res2, res2, "res2", scala.None)
                    ^
haoyi-Ammonite@ ??? : AnyRef
scala.NotImplementedError: an implementation is missing
    scala.Predef$.$qmark$qmark$qmark(Predef.scala:225)
    cmd2$.<init>(Main.scala:140)
    cmd2$.<clinit>(Main.scala:-1)
@lihaoyi lihaoyi added the bug label Dec 13, 2015
@lihaoyi
Copy link
Member Author

lihaoyi commented May 15, 2017

Seems to have fixed itself

@lihaoyi lihaoyi closed this as completed May 15, 2017
@lihaoyi
Copy link
Member Author

lihaoyi commented May 21, 2017

@lihaoyi lihaoyi reopened this May 21, 2017
@lihaoyi lihaoyi closed this as completed May 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant