Skip to content

Commit

Permalink
Fix assertions
Browse files Browse the repository at this point in the history
  • Loading branch information
7h3kk1d committed Nov 15, 2024
1 parent ecbd7ce commit 24de2fa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/Test_Elaboration.re
Original file line number Diff line number Diff line change
Expand Up @@ -599,7 +599,7 @@ let elaboration_tests = [
`Quick,
() =>
alco_check(
{|(fun a=x->x)(a=1)|},
{|(fun a=(x:Int) -> x)(a=1)|},
Ap(
Forward,
Fun(
Expand All @@ -620,15 +620,15 @@ let elaboration_tests = [
|> Exp.fresh,
)
|> Exp.fresh,
dhexp_of_uexp(parse_exp({|(fun a=(x:Int) -> x)(a=1)|})),
dhexp_of_uexp(parse_exp({|(fun a=(x:Int) -> x)(a=1)|})) // Ignoring casts for now
)
),
test_case(
"Singleton labeled argument function application with no label in ap",
`Quick,
() =>
alco_check(
{|(fun a=x->x)(a=1)|},
{|(fun a=(x:Int) -> x)(1)|},
Ap(
Forward,
Fun(
Expand Down

0 comments on commit 24de2fa

Please sign in to comment.