-
Notifications
You must be signed in to change notification settings - Fork 20
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
Update project to scala version 3.5.1. Rewrite depreciated syntax. #227
Conversation
SimonGuilloud
commented
Oct 3, 2024
- Update project to scala version 3.5.1.
- Rewrite depreciated syntax.
- Hide scallion warning report.
- Hide some unjustified error report.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM modulo minor remarks.
Surprisingly small changeset, but I suppose we were not using too many implicitly infix operators.
@@ -33,35 +33,35 @@ object Lattices extends lisa.Main { | |||
val reflexivity = Axiom(x <= x) | |||
val antisymmetry = Axiom(((x <= y) /\ (y <= x)) ==> (x === y)) | |||
val transitivity = Axiom(((x <= y) /\ (y <= z)) ==> (x <= z)) | |||
val lub = Axiom(((x <= z) /\ (y <= z)) <=> ((x u y) <= z)) | |||
val glb = Axiom(((z <= x) /\ (z <= y)) <=> (z <= (x n y))) | |||
val lub = Axiom(((x <= z) /\ (y <= z)) <=> ((x `u` y) <= z)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not just change u
and n
to be infix?
"-language:implicitConversions" | ||
"-language:implicitConversions", | ||
//"-rewrite", "-source", "3.4-migration", | ||
"-Wconf:msg=.*will never be selected.*:silent" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we really need this if the @nowarn
s are added already below? It may be better to not have the generic warning suppression for later development
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there is one warning steeming from a "export" that the nowarn does not silence, unfortunately