Skip to content

Commit

Permalink
Adjusting SugaredTypeFunctionsTest to us understanding _ : A now
Browse files Browse the repository at this point in the history
  • Loading branch information
JaroslavTulach committed Apr 1, 2023
1 parent 0dbe636 commit 55c4002
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,7 @@ class SugaredTypeFunctionsTest extends CompilerTest {
|""".stripMargin.preprocessExpression.get.resolve

if (!ir.isInstanceOf[IR.Error.Syntax]) {
ir shouldBe an[IR.Function.Lambda]
ir.asInstanceOf[IR.Function.Lambda].body shouldBe an[IR.Type.Ascription]
ir shouldBe an[IR.Type.Ascription]
}
}

Expand Down

0 comments on commit 55c4002

Please sign in to comment.