From ce307a11a6c71de9c69bd0a4c91205bb6437f6e9 Mon Sep 17 00:00:00 2001 From: Sandy Brownlee Date: Thu, 6 Oct 2022 17:20:59 +0100 Subject: [PATCH] Update ConstantFolder.java --- .../src/main/java/triangle/optimiser/ConstantFolder.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Triangle.Compiler/src/main/java/triangle/optimiser/ConstantFolder.java b/Triangle.Compiler/src/main/java/triangle/optimiser/ConstantFolder.java index 904a0f2..5a9da87 100644 --- a/Triangle.Compiler/src/main/java/triangle/optimiser/ConstantFolder.java +++ b/Triangle.Compiler/src/main/java/triangle/optimiser/ConstantFolder.java @@ -19,6 +19,7 @@ import triangle.abstractSyntaxTrees.commands.CallCommand; import triangle.abstractSyntaxTrees.commands.EmptyCommand; import triangle.abstractSyntaxTrees.commands.IfCommand; import triangle.abstractSyntaxTrees.commands.LetCommand; +import triangle.abstractSyntaxTrees.commands.RepeatCommand; import triangle.abstractSyntaxTrees.commands.SequentialCommand; import triangle.abstractSyntaxTrees.commands.WhileCommand; import triangle.abstractSyntaxTrees.declarations.BinaryOperatorDeclaration; @@ -597,4 +598,4 @@ public class ConstantFolder implements ActualParameterVisitor