@@ -125,13 +125,14 @@ func (lp *loadingPackage) loadFromSource(loadMode LoadMode) error {
125
125
pkg .IllTyped = true
126
126
127
127
pkg .TypesInfo = & types.Info {
128
- Types : make (map [ast.Expr ]types.TypeAndValue ),
129
- Instances : make (map [* ast.Ident ]types.Instance ),
130
- Defs : make (map [* ast.Ident ]types.Object ),
131
- Uses : make (map [* ast.Ident ]types.Object ),
132
- Implicits : make (map [ast.Node ]types.Object ),
133
- Scopes : make (map [ast.Node ]* types.Scope ),
134
- Selections : make (map [* ast.SelectorExpr ]* types.Selection ),
128
+ Types : make (map [ast.Expr ]types.TypeAndValue ),
129
+ Instances : make (map [* ast.Ident ]types.Instance ),
130
+ Defs : make (map [* ast.Ident ]types.Object ),
131
+ Uses : make (map [* ast.Ident ]types.Object ),
132
+ Implicits : make (map [ast.Node ]types.Object ),
133
+ Selections : make (map [* ast.SelectorExpr ]* types.Selection ),
134
+ Scopes : make (map [ast.Node ]* types.Scope ),
135
+ FileVersions : make (map [* ast.File ]string ),
135
136
}
136
137
137
138
importer := func (path string ) (* types.Package , error ) {
0 commit comments