fix(frontend): 修复部分实现
This commit is contained in:
@@ -162,7 +162,7 @@ class Function : public Value {
|
||||
|
||||
class Module {
|
||||
public:
|
||||
// 创建函数时显式传入返回类型,便于在 IRGen 中根据 AST 选择类型。
|
||||
// 创建函数时显式传入返回类型,便于在 IRGen 中根据语法树信息选择类型。
|
||||
Function* CreateFunction(const std::string& name,
|
||||
std::shared_ptr<Type> ret_type);
|
||||
const std::vector<std::unique_ptr<Function>>& functions() const {
|
||||
|
||||
Reference in New Issue
Block a user