Skip to content

Commit

Permalink
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -28,9 +28,6 @@ public ToJavaStringNode(RubyContext context, SourceSection sourceSection) {

public abstract String executeJavaString(VirtualFrame frame, Object object);

// TODO(CS): cache the conversion to a Java String? Or should the user do that themselves?

@TruffleBoundary
@Specialization(guards = "isRubySymbol(symbol)")
protected String toJavaStringSymbol(DynamicObject symbol) {
return Layouts.SYMBOL.getString(symbol);

0 comments on commit ece8e70

Please sign in to comment.