fix parse issue for typed lamda arguments

This commit is contained in:
2026-02-27 20:45:01 -08:00
parent 7a763bf40a
commit 0d974dd42d
2 changed files with 11 additions and 16 deletions

7
tests/LambdaArg.newt Normal file
View File

@@ -0,0 +1,7 @@
module LambdaArg
import Prelude
-- Parsing of typed arguments on lambda
foo : Nat -> ({_ : U} -> Nat -> Nat)
foo x = \ {x : U} (x : Nat) => x