sigmaSd / IRust

Cross Platform Rust Repl

Home Page:https://crates.io/crates/irust

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Check statements with cargo check

sigmaSd opened this issue · comments

The initial issue #67

Currently we don't do any check if the input is a statement, this is so the repl feels fast for those operations at least.

But still its weird when errors only appears after using an expression.

I tested cargo check and it turns out its not that slow, so its ok to use it to check each statement,

Also this behaviour should be configurable.

@fdncred I believe that #67 is now correctly fixed.