Improve type display in error messages.

This commit is contained in:
Stephen Chung
2023-05-13 10:47:39 +08:00
parent b1fbfcbc07
commit db9980ce3a
6 changed files with 47 additions and 11 deletions

View File

@@ -9,6 +9,7 @@ Enhancements
* Expressions involving `this` should now run slightly faster due to a dedicated `AST` node `ThisPtr`.
* A `take` function is added to the standard library to take ownership of any data (replacing with `()`) in order to avoid cloning.
* `EvalAltResult::ErrorMismatchOutputType` now gives a better name for the requested generic type (e.g. `&str` is now `&str` and not `string`).
Version 1.14.0