diff --git a/core/src/main/scala/weaponregex/model/regextree/quantifierNode.scala b/core/src/main/scala/weaponregex/model/regextree/quantifierNode.scala index b3ecd46..4a3660d 100644 --- a/core/src/main/scala/weaponregex/model/regextree/quantifierNode.scala +++ b/core/src/main/scala/weaponregex/model/regextree/quantifierNode.scala @@ -1,6 +1,7 @@ package weaponregex.model.regextree import weaponregex.model.Location +import scala.annotation.nowarn /** The enumeration of the quantifier type * @@ -40,6 +41,7 @@ case object PossessiveQuantifier extends QuantifierType("+") * This class constructor is private, instances must be created using the companion * [[weaponregex.model.regextree.Quantifier]] object */ +@nowarn("cat=scala3-migration") case class Quantifier protected[weaponregex] ( expr: RegexTree, min: Int,