runtime.Struct: temp disable abi.NewName
This commit is contained in:
@@ -6,7 +6,8 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
if x, ok := foo.Bar().(struct{ V int }); ok {
|
||||
bar := foo.Bar()
|
||||
if x, ok := bar.(struct{ V int }); ok {
|
||||
c.Printf(c.Str("%d\n"), x.V)
|
||||
} else {
|
||||
c.Printf(c.Str("Bar: not ok\n"))
|
||||
|
||||
Reference in New Issue
Block a user