aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org/shedlang/compiler/ast
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2023-06-17 21:36:45 +0100
committerMichael Williamson <mike@zwobble.org>2023-06-17 21:36:45 +0100
commit74b9cec87c2d5958cf2076396fa0cbb5ae1e6e02 (patch)
tree7db476ab984191f7d94f815b60894eb171563625 /src/test/java/org/shedlang/compiler/ast
parent57d65edb3e00191ccc5fae96b347482461a48a6e (diff)
Create FreeVariable type with index and name
Diffstat (limited to 'src/test/java/org/shedlang/compiler/ast')
-rw-r--r--src/test/java/org/shedlang/compiler/ast/typed/TypedFunctionDefinitionNodeMatcher.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/java/org/shedlang/compiler/ast/typed/TypedFunctionDefinitionNodeMatcher.java b/src/test/java/org/shedlang/compiler/ast/typed/TypedFunctionDefinitionNodeMatcher.java
index c1d047af..0d4f4cfa 100644
--- a/src/test/java/org/shedlang/compiler/ast/typed/TypedFunctionDefinitionNodeMatcher.java
+++ b/src/test/java/org/shedlang/compiler/ast/typed/TypedFunctionDefinitionNodeMatcher.java
@@ -38,7 +38,7 @@ public class TypedFunctionDefinitionNodeMatcher extends MatcherBuilder<TypedName
return with(has("effect", x -> x.effect(), effect));
}
- public TypedFunctionDefinitionNodeMatcher withFreeVariables(Matcher<Iterable<String>> freeVariables) {
+ public TypedFunctionDefinitionNodeMatcher withFreeVariables(Matcher<Iterable<FreeVariable>> freeVariables) {
return with(has("freeVariables", x -> x.freeVariables(), freeVariables));
}