Skip to content
Snippets Groups Projects
Commit a2b5d1fb authored by Florian Cassayre's avatar Florian Cassayre Committed by SimonGuilloud
Browse files

Fix CI

parent 05e41300
No related branches found
No related tags found
No related merge requests found
File moved
...@@ -8,5 +8,6 @@ project/metals.sbt ...@@ -8,5 +8,6 @@ project/metals.sbt
.bsp .bsp
.bloop .bloop
target target
*.scala.semanticdb
*.iml *.iml
...@@ -16,7 +16,7 @@ private[fol] trait CommonDefinitions { ...@@ -16,7 +16,7 @@ private[fol] trait CommonDefinitions {
/** /**
* An labelled node for tree-like structures. * An labelled node for tree-like structures.
*/ */
protected trait Label[A <: Label[A]] extends Ordered[A] { protected trait Label {
val id: String val id: String
} }
......
...@@ -10,7 +10,7 @@ private[fol] trait FormulaLabelDefinitions extends CommonDefinitions { ...@@ -10,7 +10,7 @@ private[fol] trait FormulaLabelDefinitions extends CommonDefinitions {
* It similar as with terms; they denote the Predicates and logical connector themselves, and not the terms they help forming. * It similar as with terms; they denote the Predicates and logical connector themselves, and not the terms they help forming.
* They label the nodes of a tree that defines a formula. * They label the nodes of a tree that defines a formula.
*/ */
sealed abstract class FormulaLabel extends Label[FormulaLabel] { sealed abstract class FormulaLabel extends Label with Ordered[FormulaLabel] {
def priority: Int = this match { def priority: Int = this match {
case _: ConstantPredicateLabel => 1 case _: ConstantPredicateLabel => 1
case _: SchematicPredicateLabel => 2 case _: SchematicPredicateLabel => 2
......
...@@ -11,7 +11,7 @@ private[fol] trait TermLabelDefinitions extends CommonDefinitions { ...@@ -11,7 +11,7 @@ private[fol] trait TermLabelDefinitions extends CommonDefinitions {
* For example, Powerset is not a term itself, it's a label for a node with a single child in a tree corresponding to a term. * For example, Powerset is not a term itself, it's a label for a node with a single child in a tree corresponding to a term.
* In logical terms, those labels are essentially symbols of sme language. * In logical terms, those labels are essentially symbols of sme language.
*/ */
sealed abstract class TermLabel extends Label[TermLabel] { sealed abstract class TermLabel extends Label with Ordered[TermLabel] {
def priority: Int = this match { def priority: Int = this match {
case _: VariableLabel => 1 case _: VariableLabel => 1
case _: ConstantFunctionLabel => 2 case _: ConstantFunctionLabel => 2
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment