Description
This issue was originally filed by [email protected]
Changes in r6305 to the parser to make it more resiliant have caused these 2 tests to fail in the editor. I have disabled them for the time being.
public void disabledTestCommentSnippets036() throws Exception {
test("t3() {var x=new List!1}", "1+List");
}
public void disabledTestCommentSnippets037() throws Exception {
test("t3() {var x=new List.!1}", "1+from");
}
I ran it on just the static analyzer and then had it print out the resulting code from the AST:
t3() {var x=new List}
var after;
the AST to source prints:
t3() {
var x = new List(null);
}
var after;
Before the change in 6503, the 'var after;' declaration would have been eaten. Maybe the type of node in this test has changed also.