From dc25e216e90cb8c9cfa4a28d4fc02378f098fa67 Mon Sep 17 00:00:00 2001 From: Hou Seng Wong Date: Mon, 24 Jan 2022 12:04:40 -0800 Subject: [PATCH] fix more tests --- .../lflang/tests/compiler/LinguaFrancaValidationTest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/org.lflang.tests/src/org/lflang/tests/compiler/LinguaFrancaValidationTest.java b/org.lflang.tests/src/org/lflang/tests/compiler/LinguaFrancaValidationTest.java index e493d5a67b..3e5cc075d2 100644 --- a/org.lflang.tests/src/org/lflang/tests/compiler/LinguaFrancaValidationTest.java +++ b/org.lflang.tests/src/org/lflang/tests/compiler/LinguaFrancaValidationTest.java @@ -1596,11 +1596,11 @@ private List synthesizeExamples(TargetPropertyType type, boolean correct return examples; } else { if (type instanceof UnionType) { - return synthesizeExamples(type, correct); + return synthesizeExamples((UnionType) type, correct); } else if (type instanceof ArrayType) { - return synthesizeExamples(type, correct); + return synthesizeExamples((ArrayType) type, correct); } else if (type instanceof DictionaryType) { - return synthesizeExamples(type, correct); + return synthesizeExamples((DictionaryType) type, correct); } else { Assertions.fail("Encountered an unknown type: " + type); }