We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f009f3 commit a3c879cCopy full SHA for a3c879c
src/main/java/org/truffleruby/cext/ValueWrapper.java
@@ -74,10 +74,10 @@ protected Class<RubyLanguage> getLanguage() {
74
@Override
75
public String toString() {
76
if (object != null) {
77
- return object.toString();
+ return "ValueWrapper[" + object + "]";
78
} else {
79
assert ValueWrapperManager.isTaggedLong(handle);
80
- return Long.toString(ValueWrapperManager.untagTaggedLong(handle));
+ return "ValueWrapper[" + ValueWrapperManager.untagTaggedLong(handle) + "]";
81
}
82
83
@@ -92,7 +92,7 @@ protected String toDisplayString(boolean allowSideEffects) {
92
throw TranslateInteropExceptionNode.executeUncached(e);
93
94
95
- return "VALUE: " + toString();
+ return "VALUE: " + this;
96
97
98
0 commit comments