
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
16 lines
227 B
Go
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)
|
|
}
|