Open pohara60 opened 3 years ago
How so? Isn't that there to distinguish itself from TokenType.AND?
How so? Isn't that there to distinguish itself from TokenType.AND?
I was referring to the redundant text "TokenType.", the text "OR" suffices. (The author avoids using this text everywhere else, so it is inconsistent.)
There is a redundant use of TokenType is this line, introduced in Chapter 9:
https://github.com/munificent/craftinginterpreters/blob/b98b8a1a0d1d3c852853461badb5d583eb8af860/java/com/craftinginterpreters/lox/Interpreter.java#L394