Skip to content

Commit

Permalink
Cleanup exception for reading parsed types
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredlll08 committed Mar 31, 2022
1 parent e3d1ef7 commit b952e43
Showing 1 changed file with 2 additions and 3 deletions.
Expand Up @@ -45,9 +45,8 @@ public static ParsedExpression staticMemberExpression(CodePosition position, Str
public static IParsedType readParsedType(String name, CodePosition position) throws ParseException {

try {
return IParsedType.tryParse(ZSTokenParser.create(new LiteralSourceFile("type reading: " + name, name), null));
} catch(IOException e) {
e.printStackTrace();
return IParsedType.parse(ZSTokenParser.create(new LiteralSourceFile("type reading: " + name, name), null));
} catch(IOException ignored) {
}
return ParsedTypeBasic.UNDETERMINED;
}
Expand Down

0 comments on commit b952e43

Please sign in to comment.