From aa0a6ad1db9ea2e338e755720c91e1b10376c4de Mon Sep 17 00:00:00 2001
From: Alan Donovan Importer,
Package,
NewPackage.
-
- Identifiers cannot be accurately resolved without type information.
+
+ In general, identifiers cannot be accurately resolved without type information.
Consider, for example, the identifier K
in T{K: ""}: it could be the name of a local variable
if T is a map type, or the name of a field if T is a struct type.
-
+
New programs should use the go/types
- package to resolve identifiers;
- see Object, Info.Uses,
- and Info.Defs for details.
+ package to resolve identifiers; see
+ Object,
+ Info.Uses, and
+ Info.Defs for details.
-- 2.52.0