fix: multiple files import the same api file (#3642)
This commit is contained in:
@@ -156,6 +156,7 @@ func (p *Parser) invokeImportedApi(filename string, imports []*ImportExpr) ([]*A
|
||||
}
|
||||
// ignore already imported file
|
||||
if p.alreadyImported(impPath) {
|
||||
p.importStatck.pop()
|
||||
continue
|
||||
}
|
||||
p.fileMap[impPath] = PlaceHolder{}
|
||||
|
||||
Reference in New Issue
Block a user