[Action] 构建命令修改

This commit is contained in:
2026-01-03 20:46:35 +08:00
parent d4fb42afc4
commit ff4c4ea84e
4 changed files with 14 additions and 7 deletions

View File

@@ -366,6 +366,7 @@ namespace Fig
}
assert(false);
return Function(); // ignore warning
}
const Function &getImplementedMethod(const TypeInfo &structType,
@@ -385,6 +386,7 @@ namespace Fig
return parent->getImplementedMethod(structType, functionName);
assert(false); // not found
throw ""; // ignore warning
}
void printStackTrace(std::ostream &os = std::cerr, int indent = 0) const

View File

@@ -984,6 +984,7 @@ namespace Fig
}
default: assert(false);
return Object::getNullInstance(); // ignore warning
}
}
StatementResult Evaluator::evalBlockStatement(Ast::BlockStatement block, ContextPtr ctx)

View File

@@ -76,6 +76,7 @@ namespace Fig
return std::hash<TypeInfo>{}(si.parentType) + std::hash<uint64_t>{}(reinterpret_cast<uint64_t>(std::addressof(*si.localContext)));
}
assert(false);
throw ""; // ignore warning
}
}