Descriptioncmd/gc: change compile error to "use of package %S without selector"
At present, when a package identifier is used outside of a selector expression, gc gives the error "use of package %S outside selector". However, in the selector expression x.f, the spec defines f as the selector. This change makes the error clearer.
Fixes issue 7133.
Patch Set 1 #Patch Set 2 : diff -r 9e0b2af78b5c https://code.google.com/p/go #Patch Set 3 : diff -r 9e0b2af78b5c https://code.google.com/p/go #MessagesTotal messages: 5
|