MakeInterface: todo

This commit is contained in:
xushiwei
2024-05-19 12:31:59 +08:00
parent 9a7fbaee00
commit 3bf3a276de

View File

@@ -71,8 +71,8 @@ func (b Builder) MakeInterface(tinter Type, x Expr) (ret Expr) {
case kind == types.String: case kind == types.String:
return Expr{b.InlineCall(pkg.rtFunc("MakeAnyString"), x).impl, tinter} return Expr{b.InlineCall(pkg.rtFunc("MakeAnyString"), x).impl, tinter}
} }
case *types.Struct: // case *types.Struct:
panic("todo: struct") // panic("todo: struct")
} }
panic("todo") panic("todo")
} }