Disallow registering indexers for arrays, maps and strings.
This commit is contained in:
@@ -17,6 +17,7 @@ Breaking changes
|
||||
----------------
|
||||
|
||||
* `Engine::register_set_result` and `Engine::register_indexer_set_result` now take a function that returns `Result<(), Box<EvalAltResult>>`.
|
||||
* `Engine::register_indexer_XXX` and `Module::set_indexer_XXX` panic when the type is `Arrary`, `Map` or `String`.
|
||||
|
||||
New features
|
||||
------------
|
||||
|
Reference in New Issue
Block a user