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:
return Expr{b.InlineCall(pkg.rtFunc("MakeAnyString"), x).impl, tinter}
}
case *types.Struct:
panic("todo: struct")
// case *types.Struct:
// panic("todo: struct")
}
panic("todo")
}