Skip to content

Commit d9577f9

Browse files
committed
[Truffle] Symbol#id2name is Symbol#to_s.
1 parent ac6458c commit d9577f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

truffle/src/main/java/org/jruby/truffle/nodes/core/SymbolNodes.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ public RubySymbol toSym(RubySymbol symbol) {
171171

172172
}
173173

174-
@CoreMethod(names = "to_s")
174+
@CoreMethod(names = { "to_s", "id2name" })
175175
public abstract static class ToSNode extends CoreMethodNode {
176176

177177
public ToSNode(RubyContext context, SourceSection sourceSection) {

0 commit comments

Comments
 (0)