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:
|
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")
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user