Skip to content

Commit

Permalink
fix more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
housengw committed Jan 24, 2022
1 parent 7269930 commit dc25e21
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1596,11 +1596,11 @@ private List<String> 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);
}
Expand Down

0 comments on commit dc25e21

Please sign in to comment.