Skip to content

Commit 5c8e56d

Browse files
committed
Add missing specialization to 'AsPythonObjectNode'.
1 parent c0dad5b commit 5c8e56d

File tree

1 file changed

+5
-0
lines changed
  • graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/cext

1 file changed

+5
-0
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/cext/CExtNodes.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -406,6 +406,11 @@ String doString(String object) {
406406
return object;
407407
}
408408

409+
@Specialization
410+
boolean doBoolean(boolean b) {
411+
return b;
412+
}
413+
409414
@Specialization
410415
byte doLong(byte b) {
411416
return b;

0 commit comments

Comments
 (0)