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.
2 parents 90bfaa0 + 1eb66eb commit 5df847eCopy full SHA for 5df847e
src/main/java/org/truffleruby/parser/Identifiers.java
@@ -91,7 +91,7 @@ private static boolean isNameString(String id, int start) {
91
// MRI: similar to is_identchar but does not allow numeric
92
@TruffleBoundary
93
private static boolean isInitialCharacter(int c) {
94
- return Character.isAlphabetic(c) || c == '_' || c >= 128;
+ return c >= 128 || c == '_' || Character.isAlphabetic(c);
95
}
96
97
private static boolean isConstantFirstCodePoint(int first) {
0 commit comments