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

Bump to 3.3.3 (does not compile) #209

Closed
wants to merge 1 commit into from

Conversation

samuelchassot
Copy link
Contributor

@samuelchassot samuelchassot commented Apr 30, 2024

This PR is to discuss about the bump to Scala 3.3.3.

Bumping to this version makes the solver hierarchy for NativeZ3Opt not valid anymore, with this error message:

[error] -- Error: /Users/samuel/EPFL/inox/src/main/scala/inox/solvers/SolverFactory.scala:207:14 
[error] 207 |        class NativeZ3OptImpl(override val program: p.type)
[error]     |              ^
[error]     |parent trait NativeZ3Optimizer has a super call which binds to the value inox.solvers.unrolling.AbstractUnrollingSolver.targetProgram. Super calls can only target methods.
[error] one error found
[error] (Compile / compileIncremental) Compilation failed

For now, I found this commit which introduces this check scala/scala3@a53b185.

This was introduced in release 3.3.1.

@samuelchassot
Copy link
Contributor Author

this was in response to this issue: scala/scala3#16704

@samuelchassot
Copy link
Contributor Author

I'll continue to look into it, but for now I don't know how to solve this.

@samuelchassot samuelchassot changed the title Bump to 3.3.3 DOES NOT compile Bump to 3.3.3 (does not compile) Apr 30, 2024
@vkuncak vkuncak closed this May 27, 2024
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 this pull request may close these issues.

2 participants