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 a8fb2a7 commit 518d2d4Copy full SHA for 518d2d4
src/main/java/org/truffleruby/parser/lexer/RubyLexer.java
@@ -122,11 +122,11 @@ private ComplexParseNode newComplexNode(NumericParseNode number) {
122
}
123
124
protected void ambiguousOperator(String op, String syn) {
125
- warnings.warn(
+ warnings.warning(
126
getFile(),
127
getPosition().toSourceSection(src.getSource()).getStartLine(),
128
"`" + op + "' after local variable or literal is interpreted as binary operator");
129
130
131
132
"even though it seems like " + syn);
0 commit comments