Descriptionreflect: correct type descriptor for call of interface method
When preparing a call with an interface method, the argument
frame holds the receiver "iword", but funcLayout was being
asked to write a descriptor as if the receiver were a complete
interface value. This was originally caught by running a large
program with Debug=3 in runtime/mgc0.c, but the new panic
in funcLayout suffices to catch the mistake with the existing
tests.
Fixes issue 7748.
Patch Set 1 #Patch Set 2 : diff -r 5cd29b3062c2 https://code.google.com/p/go/ #Patch Set 3 : diff -r 5cd29b3062c2 https://code.google.com/p/go/ #Patch Set 4 : diff -r 5cd29b3062c2 https://code.google.com/p/go/ #
Total comments: 1
Patch Set 5 : diff -r 5cd29b3062c2 https://code.google.com/p/go/ #Patch Set 6 : diff -r 771a1c388e7a https://code.google.com/p/go/ #MessagesTotal messages: 5
|