Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typing a word, followed by a space crashes the program #16

Closed
ewpratten opened this issue Dec 9, 2020 · 1 comment
Closed

Typing a word, followed by a space crashes the program #16

ewpratten opened this issue Dec 9, 2020 · 1 comment

Comments

@ewpratten
Copy link

How to reproduce:

  1. Open kalk
  2. Type test (notice the trailing space)
  3. Press enter

The error:

thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', kalk/src/lexer.rs:80:18
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[1]    18396 abort (core dumped)  ./kalk_cli

Version: 0.1.10

@PaddiM8
Copy link
Owner

PaddiM8 commented Dec 9, 2020

Oh yeah, I'm getting this too apparently. Should be fixed now, thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants