Skip to content

Commit

Permalink
remove assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
Kraks committed Jul 8, 2024
1 parent be059bd commit 0e47480
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/main/scala/avoidancestlc/TypeCheck.scala
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,6 @@ def avoidanceNegNG(t: Type, a: String): (Qual /*filter*/, Type) = {
// XXX: check equivalence betweeen t and t1?
(mt, TRef(QType(t, mt)))
case F@TFun(f, x, QType(t, p), QType(u, r)) => // AV-NEGF-NG
assert(!r.contains(f) || (p.contains(f) && p.isFresh), "AV-NEGF-NG")
val (fl1, gr1, t1) = avoidancePos(t, a)
val (fl2, u1) = avoidanceNegNG(u, a)
// S-NEGF
Expand Down

0 comments on commit 0e47480

Please sign in to comment.