Skip to content

Commit

Permalink
Merge branch 'main' into m3-jls-13-and-higher
Browse files Browse the repository at this point in the history
  • Loading branch information
jurgenvinju committed May 8, 2024
2 parents 3637eb5 + 6bb94a2 commit 5f8b840
Showing 1 changed file with 0 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,6 @@ Aas ambFilter(amb(set[Aas] alternatives)) {
return ParseTree::amb(result);
}

@IgnoreCompiler{
TODO: these tests can only be made to work when the compiled parser generator is integrated
and compiled Rascal functions can be called during parse tree construction
}
test bool resolveableAmbIsGone() = amb(_) !:= parse(#Aas, "a", allowAmbiguity=true, filters={ambFilter});

// this test would throw an exception because the amb constructor would not _statically_ return
// a tree of type Aas:
@IgnoreCompiler{
TODO: Not implemented
}
test bool twoAmbsLeft() = amb({_,_}) := parse(#Aas, "aa", allowAmbiguity=true, filters={ambFilter});

0 comments on commit 5f8b840

Please sign in to comment.