Skip to content

Commit

Permalink
minor format
Browse files Browse the repository at this point in the history
  • Loading branch information
hyp3rflow committed Jul 20, 2023
1 parent 84f2e6f commit 322de52
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/main/scala/esmeta/analyzer/TypeAnalyzer.scala
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,7 @@ class TypeAnalyzer(
if (check) doReturn(riaExpr, value.abruptCompletion)
else if (!value.abruptCompletion.isBottom)
val riap = ReturnIfAbruptPoint(cp, riaExpr)
addMismatch(
UncheckedAbruptCompletionMismatch(riap, value.ty),
)
addMismatch(UncheckedAbruptCompletionMismatch(riap, value.ty))
else ()
for (_ <- checkReturn) yield value.unwrapCompletion
}
Expand Down

0 comments on commit 322de52

Please sign in to comment.