wheineman / nrpl

Nim REPL
MIT License
56 stars 9 forks source link

Remove the last erroneous command. #13

Open vegansk opened 8 years ago

vegansk commented 8 years ago

For example, here is the log:

> let x = 123
> x
nrpltmp.nim(2, 1) Error: value of type 'int' has to be discarded

This PR removes x line from the history.

And also it compiles again :-) (checked on the latest devel).

vegansk commented 8 years ago

Also removed this error on Ctrl+D:

> Traceback (most recent call last)
nrpl.nim(89)             nrpl
sysio.nim(140)           readLine
sysio.nim(51)            raiseEIO
system.nim(2530)         sysFatal
Error: unhandled exception: EOF reached [IOError]