[Action] 构建命令修改
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -984,6 +984,7 @@ namespace Fig
|
||||
}
|
||||
|
||||
default: assert(false);
|
||||
return Object::getNullInstance(); // ignore warning
|
||||
}
|
||||
}
|
||||
StatementResult Evaluator::evalBlockStatement(Ast::BlockStatement block, ContextPtr ctx)
|
||||
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user