Descriptiongo.tools/go/types: fix isAssignable and IsIdentical
- Imported objects that are explicitly exported may have a nil package;
don't use it for qualified name computation (it's not needed).
- isAssignable must check all possibilities before declaring failure.
Fixes issue 5675.
Patch Set 1 #Patch Set 2 : diff -r 072a54c443ec https://code.google.com/p/go.tools #Patch Set 3 : diff -r 072a54c443ec https://code.google.com/p/go.tools #Patch Set 4 : diff -r 072a54c443ec https://code.google.com/p/go.tools #Patch Set 5 : diff -r 072a54c443ec https://code.google.com/p/go.tools #Patch Set 6 : diff -r 072a54c443ec https://code.google.com/p/go.tools #
MessagesTotal messages: 4
|