inox icon indicating copy to clipboard operation
inox copied to clipboard

Bump to 3.3.3 (does not compile)

Open samuelchassot opened this issue 9 months ago • 2 comments

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 https://github.com/scala/scala3/commit/a53b1855f793d59b0e43925697eb769ebbacba4c.

This was introduced in release 3.3.1.

samuelchassot avatar Apr 30 '24 09:04 samuelchassot

this was in response to this issue: https://github.com/scala/scala3/issues/16704

samuelchassot avatar Apr 30 '24 09:04 samuelchassot

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

samuelchassot avatar Apr 30 '24 09:04 samuelchassot