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
With the acceptance of #56548, there's a difference between interface implementation and constraint satisfaction; the latter makes an exception with respect to comparability of types (see #56548).
Since we can't add a flag to types.Implements (breaks backward compatibility), the proposal is to add a new predicate:
// Satisfies reports whether type V satisfies the constraint T.//// The behavior of Satisfies is unspecified if V is Typ[Invalid] or an uninstantiated// generic type.funcImplements(VType, T*Interface) bool
With the acceptance of #56548, there's a difference between interface implementation and constraint satisfaction; the latter makes an exception with respect to comparability of types (see #56548).
Since we can't add a flag to
types.Implements
(breaks backward compatibility), the proposal is to add a new predicate:cc: @findleyr
The text was updated successfully, but these errors were encountered: