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

Don't seem to get the expected output #5

Open
lassebn opened this issue Jun 9, 2023 · 2 comments
Open

Don't seem to get the expected output #5

lassebn opened this issue Jun 9, 2023 · 2 comments

Comments

@lassebn
Copy link

lassebn commented Jun 9, 2023

Hi,

We've tried to add it to our project, but don't get the expected output. We just get the normal error output.
This Scastie https://scastie.scala-lang.org/JrOm5GVAQ8Wn29kgpcUl2w shows the same behaviour.

@lassebn
Copy link
Author

lassebn commented Jun 9, 2023

Sorry, updated Scastie with the Scala versions all aligned on 2.13 https://scastie.scala-lang.org/k9I3AVR6TJ6SuXMaGkXLsg

@hmemcpy
Copy link
Owner

hmemcpy commented Jun 10, 2023

Hey! Thank you for reporting; I'm currently traveling, so I'm slow to respond.
The plugin only tries to detect the "noisy" type mismatch error that has the entire ZIO signature in it, i.e.:
image

In this case, Scala seems to detect the return type mismatch and shows it in a simplified form, so the plugin has no effect.
In any case, I'll look and see whether it's something I can improve on.

Thanks again!

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