Skip to content

Commit

Permalink
Merge pull request #1731 from visualfc/typesutil_impl
Browse files Browse the repository at this point in the history
x/typesutil: remove importer
  • Loading branch information
xushiwei committed Feb 12, 2024
2 parents 6cf463e + 39441ce commit bc5a895
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 91 deletions.
2 changes: 1 addition & 1 deletion x/typesutil/check.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ func (p *Checker) Files(goFiles []*goast.File, gopFiles []*ast.File) (err error)
C2goBase: opts.C2goBase,
LookupPub: c2go.LookupPub(mod),
LookupClass: mod.LookupClass,
Importer: newImporter(conf.Importer, mod, nil, fset),
Importer: conf.Importer,
Recorder: gopRecorder{p.gopInfo},
NoFileLine: true,
NoAutoGenMain: true,
Expand Down
70 changes: 0 additions & 70 deletions x/typesutil/imp.go

This file was deleted.

20 changes: 0 additions & 20 deletions x/typesutil/imp_test.go

This file was deleted.

0 comments on commit bc5a895

Please sign in to comment.