You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have this test case working with unified IR, and I thought it was working with golang.org/cl/323029 last night when I tested it, but it's currently failing at de61465 when I try compiling with -G=3 due to:
$GOROOT/test/typeparam/mutualimp.dir/a.go:11:6: internal compiler error: weird package in name: .dict => .dict from "", not "/usr/local/google/home/mdempsky/wd/go/test/typeparam/mutualimp.dir/a"
package a
type X int
func (x X) M() X { return x }
func F[T interface{ M() U }, U interface{ M() T }]() {}
func G() { F[X, X]() }
…e instantiated function
The instantiated functions are created in the source package of the
generic function, so all lookups of symbols should be relative to that
package, so all symbols are consistently in the source package.
Fixes#46575
Change-Id: Iba67b2ba8014a630c5d4e032c0f2f2fbaaedce65
Reviewed-on: https://go-review.googlesource.com/c/go/+/325529
Reviewed-by: Keith Randall <khr@golang.org>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
I have this test case working with unified IR, and I thought it was working with golang.org/cl/323029 last night when I tested it, but it's currently failing at de61465 when I try compiling with
-G=3
due to:/cc @danscales @randall77 @griesemer
The text was updated successfully, but these errors were encountered: