-
-
Notifications
You must be signed in to change notification settings - Fork 339
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
Fix InstantiationError when using any() where a sealed type is expected #939
Conversation
064bb80
to
356001a
Compare
Thanks for looking into this. Can you also add test coverage, please? 🙏 |
Done, @diastremskii already added tests for this is in his PR #937, I've merged that commit into my branch. |
Sorry for missing this in my PR! |
Are the failing test with java 19 what is holding back this PR? |
I guess it would help to rebase the PR onto the current master branch, as it uses Java 18 instead of 19 in the CI matrix |
Rebased it |
@Raibaz thanks for merging! Are you planning to release a new version anytime soon? |
Any release plan about this PR? |
Would really appreciate a release, now that Spring Boot 3.0.0 is GA, and targets Java 17, this is becoming a blocker for a migration. |
You're right, just released v1.13.3: https://github.com/mockk/mockk/releases/tag/1.13.3 |
Fixes #934
There's no specific test for the issue, that is part of this pr: #937