Loading script/src/interpreter.cpp +0 −12 Original line number Diff line number Diff line Loading @@ -803,18 +803,6 @@ void Interpreter::execute_GET_ITEM(FunctionCall& call, Bytecode::Instruction con result_item->value = com::Folder::root()->locate({a_path->value.begin() + 1, a_path->value.end()}); else result_item->value = call.script()->folder()->locate(a_path->value); /*if (result_item->value == nullptr) { msgstream stream{}; stream << "Couldn't find item at path: "; for (const std::string& str : a_path->value) stream << str << '/'; std::string msg = stream.get(); msg.pop_back(); msg.push_back('.'); throw NullError(msg); }*/ } void Interpreter::execute_GET_ELEMENT_BYTES(FunctionCall& call, Bytecode::Instruction const& I) Loading Loading
script/src/interpreter.cpp +0 −12 Original line number Diff line number Diff line Loading @@ -803,18 +803,6 @@ void Interpreter::execute_GET_ITEM(FunctionCall& call, Bytecode::Instruction con result_item->value = com::Folder::root()->locate({a_path->value.begin() + 1, a_path->value.end()}); else result_item->value = call.script()->folder()->locate(a_path->value); /*if (result_item->value == nullptr) { msgstream stream{}; stream << "Couldn't find item at path: "; for (const std::string& str : a_path->value) stream << str << '/'; std::string msg = stream.get(); msg.pop_back(); msg.push_back('.'); throw NullError(msg); }*/ } void Interpreter::execute_GET_ELEMENT_BYTES(FunctionCall& call, Bytecode::Instruction const& I) Loading