Skip to content

Commit 3e8e7a2

Browse files
author
Michal Medvecky
committed
add coercion to patma guards
1 parent 151a45e commit 3e8e7a2

File tree

1 file changed

+1
-1
lines changed
  • graalpython/com.oracle.graal.python/src/com/oracle/graal/python/compiler/bytecode_dsl

1 file changed

+1
-1
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/compiler/bytecode_dsl/RootNodeCompiler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3616,7 +3616,7 @@ private void emitPatternCondition(MatchCaseTy currentCase, PatternContext pc) {
36163616
b.endBlock();
36173617
}
36183618
if (guard != null) {
3619-
guard.accept(this);
3619+
visitCondition(guard);
36203620
}
36213621
b.endPrimitiveBoolAnd();
36223622
}

0 commit comments

Comments
 (0)