Skip to content

Commit

Permalink
add test
Browse files Browse the repository at this point in the history
  • Loading branch information
janmasrovira committed Sep 6, 2024
1 parent e1a412e commit db307e7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/Scope/Positive.hs
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,10 @@ tests =
"Record field iterator"
$(mkRelDir ".")
$(mkRelFile "RecordIterator.juvix"),
posTest
"Forward reference name signature"
$(mkRelDir ".")
$(mkRelFile "issue2999.juvix"),
posTest
"Scan name with 'import' prefix"
$(mkRelDir "issue2929")
Expand Down
7 changes: 7 additions & 0 deletions tests/positive/issue2999.juvix
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
module issue2999;

type T := t;

fun : T := namedFun@{x := t};

namedFun (x : T) : T := t;

0 comments on commit db307e7

Please sign in to comment.