Change field names of EvalState.

This commit is contained in:
Stephen Chung
2021-07-26 10:03:46 +08:00
parent c7498503ba
commit 2c50738c6c
3 changed files with 18 additions and 17 deletions

View File

@@ -1729,7 +1729,7 @@ impl Engine {
state.source = ast.source_raw().cloned();
#[cfg(not(feature = "no_module"))]
{
state.resolver = ast.resolver();
state.embedded_module_resolver = ast.resolver();
}
let statements = ast.statements();
@@ -1811,7 +1811,7 @@ impl Engine {
state.source = ast.source_raw().cloned();
#[cfg(not(feature = "no_module"))]
{
state.resolver = ast.resolver();
state.embedded_module_resolver = ast.resolver();
}
let statements = ast.statements();