File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
src/main/java/org/truffleruby/cext Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -1540,7 +1540,8 @@ protected int extractRubyTag(CapturedException captured,
1540
1540
@ GenerateCached (false )
1541
1541
public abstract static class ExtractRubyTagHelperNode extends RubyBaseNode {
1542
1542
1543
- public abstract int execute (Node node , Throwable e );
1543
+ // Object instead of Throwable to workaround Truffle DSL bug GR-46797
1544
+ public abstract int execute (Node node , Object e );
1544
1545
1545
1546
@ Specialization
1546
1547
protected static int dynamicReturnTag (DynamicReturnException e ) {
@@ -1582,8 +1583,9 @@ protected static int throwTag(ThrowException e) {
1582
1583
return RUBY_TAG_THROW ;
1583
1584
}
1584
1585
1586
+ // Object instead of Throwable to workaround Truffle DSL bug GR-46797
1585
1587
@ Fallback
1586
- protected static int noTag (Throwable e ) {
1588
+ protected static int noTag (Object e ) {
1587
1589
return 0 ;
1588
1590
}
1589
1591
}
You can’t perform that action at this time.
0 commit comments