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 8224f45 commit 149e587Copy full SHA for 149e587
tool/generate-core-symbols.rb
@@ -30,7 +30,7 @@
30
import java.util.List;
31
32
import org.jcodings.specific.USASCIIEncoding;
33
-import org.truffleruby.core.rope.Rope;
+import org.truffleruby.core.rope.LeafRope;
34
import org.truffleruby.core.rope.RopeConstants;
35
import org.truffleruby.core.rope.RopeOperations;
36
@@ -155,7 +155,7 @@
155
156
footer = <<JAVA
157
public RubySymbol createRubySymbol(String string, long id) {
158
- Rope rope = RopeConstants.lookupUSASCII(string);
+ LeafRope rope = RopeConstants.lookupUSASCII(string);
159
if (rope == null) {
160
rope = RopeOperations.encodeAscii(string, USASCIIEncoding.INSTANCE);
161
}
0 commit comments