Skip to content

Commit 2e7cc37

Browse files
fix
1 parent 5eecbf8 commit 2e7cc37

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/main/scala/tapl/fullfomsubref/core.scala

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -398,10 +398,10 @@ object Typer {
398398
}
399399
}
400400
case (TyVariant(fS), TyVariant(fT)) =>
401-
fT.forall {
402-
case (li, tyTi) =>
403-
fS.find { _._1 == li } match {
404-
case Some((_, tySi)) => subtype(ctx, tySi, tyTi)
401+
fS.forall {
402+
case (li, tySi) =>
403+
fT.find { _._1 == li } match {
404+
case Some((_, tyTi)) => subtype(ctx, tySi, tyTi)
405405
case None => false
406406
}
407407
}

0 commit comments

Comments
 (0)