[go-nuts] Re: [go/types] Implements doesn't work for types from different packages when the interface signature has types from the package where the interface lies.

2018-05-07 Thread Denis Cheremisov
This library are not supposed to be used that way. Importer should be used directly: package main import ( "fmt" "go/importer" "go/types" ) var imprt = importer.For("source", nil) func main() { p1, err := imprt.Import("awesome/pkg1") if err != nil { panic(err) } p2,

[go-nuts] Re: [go/types] Implements doesn't work for types from different packages when the interface signature has types from the package where the interface lies.

2018-05-04 Thread Denis Cheremisov
I meant true-false is not expected behaviour, true-true is what I would love to see. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to