Test case is https://golang.org/cl/375796.
Fixes golang/go#50439
Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/375797
-9732b0766667b9235d0f35d0fb0abfe406b94d49
+799e9807c36fc661b14dfff136369556f09a5ebf
The first line of this file holds the git revision number of the last
merge done from the gofrontend repository.
// The types are convertible if they have identical underlying
// types, ignoring struct field tags.
- if ((lhs->named_type() != NULL || rhs->named_type() != NULL)
- && Type::are_identical(lhs->base(), rhs->base(), 0, reason))
+ if (Type::are_identical(lhs->base(), rhs->base(), 0, reason))
return true;
// The types are convertible if they are both unnamed pointer types