Skip to content

Commit

Permalink
Revert to old For
Browse files Browse the repository at this point in the history
  • Loading branch information
georgelesica-wf committed May 3, 2019
1 parent 2aee6a4 commit 2287e28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _codegen/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ func parsePackageSource(pkg string) (*types.Scope, *doc.Package, error) {

var imp types.Importer
if SOURCE_IMPORTER {
imp = importer.ForCompiler(fset, "source", nil)
imp = importer.For("source", nil)
} else {
imp = importer.Default()
}
Expand Down

0 comments on commit 2287e28

Please sign in to comment.