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

Incorrect pretty printing for mono- and polymorphic functions, and extension methods #758

Open
Sporarum opened this issue Mar 17, 2023 · 3 comments

Comments

@Sporarum
Copy link

The following have been reported on the compiler, but I believe now it to be a problem with Mdoc, that scastie and the repl use
scala/scala3#17000
scala/scala3#16676

Look at the issues for more details, including examples and a potential solution for one of them

@tgodzik
Copy link
Contributor

tgodzik commented Mar 17, 2023

Thanks for reporting! I don't think that scastie uses mdoc though, so scala/scala3#16676 is not related. I even see it compiles the file using sbt, so that wouldn't happen with mdoc.

As for the first one it's an issue in metals if it's hover.

@Sporarum
Copy link
Author

Sporarum commented Mar 20, 2023

Are you sure Scastie doesn't use mdoc ?

The only way I was able to replicate scala/scala3#16676 was in a worksheet and in Scastie, and not in a regular file, so it seems to indicate the issue is not with the compiler

@tgodzik
Copy link
Contributor

tgodzik commented Mar 20, 2023

Yes, I discussed it with Jędrzej. Both I think just use toString, not sure what else can be done really.

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