Skip to content

Commit 8c8ff0c

Browse files
committed
Fix typo.
1 parent f3b794e commit 8c8ff0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/truffleruby/cext/UnwrapNode.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ public ValueWrapper unwrapTypeCastObject(TruffleObject value,
143143
return nativeToWrapperNode.execute(handle);
144144
} else {
145145
nonPointerProfile.enter();
146-
throw null;
146+
return null;
147147
}
148148
}
149149

0 commit comments

Comments
 (0)