avoid compilation warnings

This commit is contained in:
ValKmjolnir
2023-11-23 21:35:11 +08:00
parent 01ceaf7e66
commit cacf0ae86a
6 changed files with 66 additions and 59 deletions

View File

@@ -381,6 +381,7 @@ std::string vm::type_name_string(const var& value) const {
case vm_type::vm_ghost: return "ghost type";
case vm_type::vm_co: return "coroutine";
case vm_type::vm_map: return "namespace";
default: break;
}
return "unknown";
}