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

Figure out failing tests with the latest version(s) of the Scala plugin #494

Open
hmemcpy opened this issue Jan 20, 2025 · 0 comments
Open
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@hmemcpy
Copy link
Collaborator

hmemcpy commented Jan 20, 2025

[error] Failed tests:
[error] 	zio.inspections.ZManagedUnnecessaryEnvProvisionInspectionTest
[error] 	zio.inspections.ZIOUnnecessaryEnvProvisionInspectionTest
[error] 	zio.inspections.IfGuardInsteadOfWhenInspectionTest
[error] 	zio.inspections.ZStreamUnnecessaryEnvProvisionInspectionTest
[error] 	zio.inspections.ProvideSomeMacroZIO2SpecInspectionTest
[error] 	zio.inspections.ProvideSomeMacroZIO2InspectionTest

Due to recent changes in the way how partially applied types / .apply are resolved (see this and related issues) it seems that some tests/features are broken. Specifically related to detection of unneeded error handling or (partial) provides. I'm not sure if this is due insufficient fixes in the Scala plugin or what, but this needs extra attention.

I, unfortunately, don't currently have the capacity to look into this, so I would appreciate any help with this.

Also, possibly unrelated, the IfGuard... tests return weird results.

If you have some will to dig into this - I would really appreciate it.

@hmemcpy hmemcpy added bug Something isn't working help wanted Extra attention is needed labels Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant