Check data size after assignments.

This commit is contained in:
Stephen Chung
2021-06-11 19:59:50 +08:00
parent 07d25b4fb6
commit f9dcfeb1ad
3 changed files with 93 additions and 59 deletions

View File

@@ -331,6 +331,7 @@ impl Engine {
.as_ref()
.or_else(|| state_source.as_ref())
.map(|s| s.as_str());
let result = if func.is_plugin_fn() {
func.get_plugin_fn()
.call((self, fn_name, source, mods, lib).into(), args)