fix: bug of loss dequate
This commit is contained in:
@ -15,7 +15,7 @@ std::any VariableContainer::ReadVariable(const std::string &name) {
|
||||
if (top.find(name) != top.end()) return top[name];
|
||||
}
|
||||
if (GlobalScope.find(name) != GlobalScope.end()) return GlobalScope[name];
|
||||
throw InterpretException(("ReadVariable: " + name + " not found").c_str());
|
||||
throw InterpretException(("ReadVariable: not found"));
|
||||
}
|
||||
void VariableContainer::WriteVariable(const std::string &name,
|
||||
const std::any &value, bool cover) {
|
||||
|
Reference in New Issue
Block a user