munificent / craftinginterpreters

Repository for the book "Crafting Interpreters"
http://www.craftinginterpreters.com/
Other
8.75k stars 1.03k forks source link

Missing "Scanner" import #969

Closed fterh closed 3 years ago

fterh commented 3 years ago

File: https://github.com/munificent/craftinginterpreters/blob/3e5f0fa6636b68eddfe4dc0173af95130403f961/java/com/craftinginterpreters/lox/Lox.java

On Line 65, we initialize a Scanner. However, at the top of the file, we didn't import it. Is this intentional or a bug? I'm happy to submit a PR to fix this.

fterh commented 3 years ago

Edit: Never mind, brain fart on my part. I realized Scanner is what we will be implementing later, and does not refer to Java's Scanner.