Skip to content

Commit

Permalink
resolve: more test for dependent types in variable
Browse files Browse the repository at this point in the history
  • Loading branch information
mio-19 committed Dec 23, 2024
1 parent 7c9b885 commit 6473239
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions base/src/test/java/org/aya/tyck/TyckTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,12 @@ public void testVariableDefinition() {
prim I prim Path
variable A : Type
variable a : A
open inductive K | kk
open inductive G (k : K) | gg
open inductive F (A : Type) (k : K) (n : G k) | ff
variable k : K
variable n : G k
variable xs : F A k n
def infix = (a b : A) => Path (\\i => A) a b
""").defs;
assertTrue(result.isNotEmpty());
Expand Down

0 comments on commit 6473239

Please sign in to comment.