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

Update project to scala version 3.5.1. Rewrite depreciated syntax. #227

Merged
merged 5 commits into from
Oct 4, 2024

Conversation

SimonGuilloud
Copy link
Collaborator

  • Update project to scala version 3.5.1.
  • Rewrite depreciated syntax.
  • Hide scallion warning report.
  • Hide some unjustified error report.

Copy link
Member

@sankalpgambhir sankalpgambhir left a 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))
Copy link
Member

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"
Copy link
Member

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 @nowarns are added already below? It may be better to not have the generic warning suppression for later development

Copy link
Collaborator Author

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

@SimonGuilloud SimonGuilloud merged commit 8af257a into epfl-lara:main Oct 4, 2024
1 check passed
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