fix compilation

This commit is contained in:
Bas Leijdekkers
2017-05-27 09:43:02 +02:00
parent 3a9558f46a
commit 5bb6012fcf
@@ -439,7 +439,7 @@ public class JavaCompilingVisitor extends JavaRecursiveElementWalkingVisitor {
if (compileContext.getPattern().isTypedVar(refname)) {
SubstitutionHandler handler = (SubstitutionHandler)compileContext.getPattern().getHandler(refname);
RegExpPredicate predicate = RegExpPredicate.findRegExpPredicate(handler);
RegExpPredicate predicate = MatchingHandler.getSimpleRegExpPredicate(handler);
if (!GlobalCompilingVisitor.isSuitablePredicate(predicate, handler)) {
return;
}