From 74b9cec87c2d5958cf2076396fa0cbb5ae1e6e02 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sat, 17 Jun 2023 21:36:45 +0100 Subject: Create FreeVariable type with index and name --- .../shedlang/compiler/ast/typed/TypedFunctionDefinitionNodeMatcher.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/test/java/org/shedlang/compiler/ast') 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 x.effect(), effect)); } - public TypedFunctionDefinitionNodeMatcher withFreeVariables(Matcher> freeVariables) { + public TypedFunctionDefinitionNodeMatcher withFreeVariables(Matcher> freeVariables) { return with(has("freeVariables", x -> x.freeVariables(), freeVariables)); } -- cgit v1.2.3