File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/main/java/org/truffleruby/stdlib/readline Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -78,12 +78,12 @@ protected RubyString basicWordBreakCharacters() {
78
78
public abstract static class SetBasicWordBreakCharactersNode extends CoreMethodNode {
79
79
80
80
@ TruffleBoundary
81
- @ Specialization (guards = "strings.isRubyString(characters )" , limit = "1" )
81
+ @ Specialization (guards = "strings.isRubyString(charactersAsString )" , limit = "1" )
82
82
protected static Object setBasicWordBreakCharacters (Object characters ,
83
83
@ Cached ToStrNode toStrNode ,
84
84
@ Cached RubyStringLibrary strings ,
85
- @ Bind ("this" ) Node node ) {
86
- final var charactersAsString = toStrNode .execute (node , characters );
85
+ @ Bind ("this" ) Node node ,
86
+ @ Bind ( " toStrNode.execute(node, characters)" ) Object charactersAsString ) {
87
87
final String delimiters = RubyGuards .getJavaString (charactersAsString );
88
88
getContext (node ).getConsoleHolder ().getParser ().setDelimiters (delimiters );
89
89
return charactersAsString ;
You can’t perform that action at this time.
0 commit comments