MakeInterface: todo
This commit is contained in:
@@ -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")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user