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
which depend on core type unification for non-local (unbound) type parameters. The examples/test may not be correct in the presence of ~ in constraints. See #51229 for the impact of ~ in constraint type inference.
griesemer
changed the title
cmd/compile: revisit core type unification in the presence of ~ constraints
go/types, types2: revisit core type unification in the presence of ~ constraints
Feb 26, 2022
dmitshur
added
NeedsFix
The path to resolution is known, but the work has not been done.
and removed
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
labels
Mar 4, 2022
…n extra test
Confirm that the current implementation of core type unification
looks correct and update the respective comment. Add an extra test.
Fixes#51376.
Change-Id: I6a603a4baeee2ede5bb4a1d60766204a808936d7
Reviewed-on: https://go-review.googlesource.com/c/go/+/388294
Trust: Robert Griesemer <gri@golang.org>
Run-TryBot: Robert Griesemer <gri@golang.org>
Reviewed-by: Robert Findley <rfindley@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
(cherry picked from commit 6da16b6)
Reviewed-on: https://go-review.googlesource.com/c/go/+/390016
Trust: Dmitri Shuralyov <dmitshur@golang.org>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Robert Griesemer <gri@golang.org>
Reminder issue to revisit the fix/tests for:
which depend on core type unification for non-local (unbound) type parameters. The examples/test may not be correct in the presence of ~ in constraints. See #51229 for the impact of ~ in constraint type inference.
cc: @findleyr
The text was updated successfully, but these errors were encountered: