delve/_fixtures/dotpackagesiface.go
aarzilli dc7a4ccb16 proc: support interface type resolution for packages containing a dot
If the last entry of the package path contains a '.' the corresponding
DIEs for its types will replace the '.' character with '%2e'. We must
do the same when resolving the package path of the concrete type of an
interface variable.

Fixes #1137
2018-03-05 10:07:11 -08:00

16 lines
227 B
Go

package main
import (
"dir.io"
"dir.io/io.io"
"fmt"
"runtime"
)
func main() {
var iface interface{} = &dirio.SomeType{}
var iface2 interface{} = &ioio.SomeOtherType{}
runtime.Breakpoint()
fmt.Println(iface, iface2)
}