Skip to content

Commit 43f65f2

Browse files
committed
fixes orderability property
1 parent 1855bc4 commit 43f65f2

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/main/scala/viper/gobra/frontend/info/implementation/property/Orderability.scala

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
package viper.gobra.frontend.info.implementation.property
88

9-
import viper.gobra.ast.internal.{PermissionT, StringT}
109
import viper.gobra.frontend.info.base.Type._
1110
import viper.gobra.frontend.info.implementation.TypeInfoImpl
1211

@@ -15,9 +14,9 @@ trait Orderability extends BaseProperty { this: TypeInfoImpl =>
1514
lazy val orderedType: Property[Type] = createBinaryProperty("ordered") {
1615
case Single(st) => underlyingType(st) match {
1716
case _: IntT => true
18-
case _: PermissionT => true
17+
case PermissionT => true
1918
case _: FloatT => true
20-
case _: StringT => true
19+
case StringT => true
2120
case _ => false
2221
}
2322
case _ => false

0 commit comments

Comments
 (0)