With this CL, an Object.Parent() Scope is always the scope in which the object was originally declared. For dot-imported objects, that is the package scope of the package from which the objects are imported (not the file scope into which they are imported). Also: - Changed Scope.Insert to be agnostic regarding blank identifiers - blank identifiers must be handled outside. - Fixed handling of blank labels: they are never declared. Fixes golang/go#7537. LGTM=adonovan R=adonovan CC=golang-codereviews https://golang.org/cl/75570043 |
||
|---|---|---|
| .. | ||
| callgraph | ||
| exact | ||
| gccgoimporter | ||
| gcimporter | ||
| importer | ||
| loader | ||
| pointer | ||
| ssa | ||
| types | ||
| vcs | ||