-
Notifications
You must be signed in to change notification settings - Fork 121
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Raise a warning if the input causes an error and partially matches a …
…command As we now proceed to stricter syntax checking for commands, incorrect command input would be processed as Ruby instead and likely causes errors. In that case, we should raise a warning to the user. For example, if an input is `show_source Foo bar`, the user would see a warning about the possible syntax error for using `show_source` command. But with this approach, we also need add a condition for the `measure` command as it's actually used as a method call with block.
- Loading branch information
Showing
3 changed files
with
73 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters