Reorganize get/set/index code into FnSpecialAccess

This commit is contained in:
J Henry Waugh
2020-09-12 22:27:54 -05:00
parent 335d853060
commit 0a2f93439e
8 changed files with 104 additions and 36 deletions

View File

@@ -4,8 +4,8 @@ error: use attribute 'index_set' instead
12 | #[rhai_fn(name = "index$set$")]
| ^^^^^^^^^^^^^^^^^^^
error[E0433]: failed to resolve: use of undeclared type or module `test_module`
error[E0433]: failed to resolve: use of undeclared crate or module `test_module`
--> $DIR/rhai_fn_rename_to_index_setter.rs:23:8
|
23 | if test_module::test_fn(n) {
| ^^^^^^^^^^^ use of undeclared type or module `test_module`
| ^^^^^^^^^^^ use of undeclared crate or module `test_module`