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

The macros generation fails with ZIO 2.0.11 due to dropped Scala 2.11 support #48

Closed
leszekgruchala opened this issue Apr 7, 2023 · 4 comments · Fixed by #49
Closed

Comments

@leszekgruchala
Copy link

java.lang.NoSuchMethodError: 'boolean zio.test.TestVersion$.isScala211()'
	at zio.mock.MockableMacro$.zio$mock$MockableMacro$$makeMock$1(MockableMacro.scala:263)
	at zio.mock.MockableMacro$$anonfun$2.applyOrElse(MockableMacro.scala:312)
	at zio.mock.MockableMacro$$anonfun$2.applyOrElse(MockableMacro.scala:310)
	at scala.collection.StrictOptimizedIterableOps.collect(StrictOptimizedIterableOps.scala:151)
	at scala.collection.StrictOptimizedIterableOps.collect$(StrictOptimizedIterableOps.scala:136)
	at scala.collection.immutable.HashMap.collect(HashMap.scala:39)
	at zio.mock.MockableMacro$.impl(MockableMacro.scala:310)

The ZIO 2.0.11 dropped support for Scala 2.11

@guizmaii
Copy link
Member

guizmaii commented Apr 7, 2023

Hey @leszekgruchala,

Can you maybe make a PR to drop Scala 2.11 support in zio-mock, please?

@leszekgruchala
Copy link
Author

Yes, but not sooner then middle of next week.

@guizmaii
Copy link
Member

See #49

@leszekgruchala
Copy link
Author

Thank you @guizmaii

@vigoo vigoo closed this as completed in #49 Apr 11, 2023
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

Successfully merging a pull request may close this issue.

2 participants