Don't crash on unmatched angle brackets in variable initializers
java.util.NoSuchElementException
at java.util.ArrayDeque.removeLast(ArrayDeque.java:295)
at com.google.turbine.parse.VariableInitializerParser.dropBracks(VariableInitializerParser.java:283)
at com.google.turbine.parse.VariableInitializerParser.parseInitializers(VariableInitializerParser.java:130)
at com.google.turbine.parse.Parser.fieldRest(Parser.java:828)
at com.google.turbine.parse.Parser.memberRest(Parser.java:810)
at com.google.turbine.parse.Parser.classMember(Parser.java:712)
at com.google.turbine.parse.Parser.classMembers(Parser.java:619)
at com.google.turbine.parse.Parser.classDeclaration(Parser.java:524)
at com.google.turbine.parse.Parser.compilationUnit(Parser.java:166)
at com.google.turbine.parse.Parser.parse(Parser.java:87)
at com.google.turbine.parse.Parser.parse(Parser.java:83)
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=273818279
1 file changed