Catch Fn and eval in method call at parse time.

This commit is contained in:
Stephen Chung
2020-10-17 18:18:29 +08:00
parent 7a4905209c
commit f903eda8ab
3 changed files with 28 additions and 22 deletions

View File

@@ -11,6 +11,10 @@ Breaking changes
* `EvalAltResult::ErrorReadingScriptFile` is removed in favor of the new `EvalAltResult::ErrorSystem`.
* `EvalAltResult::ErrorLoopBreak` is renamed to `EvalAltResult::LoopBreak`.
Enhancements
* Calling `eval` or `Fn` in method-call style, which is an error, is now caught during parsing.
Version 0.19.2
==============