Skip to content

Commit c4ac4dd

Browse files
committed
Add meta to ImportDirective.pathLiteral
1 parent 81ee457 commit c4ac4dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ASTBuilder.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1565,7 +1565,7 @@ export class ASTBuilder
15651565
const node: AST.ImportDirective = {
15661566
type: 'ImportDirective',
15671567
path,
1568-
pathLiteral,
1568+
pathLiteral: this._addMeta(pathLiteral, ctx.importPath()),
15691569
unitAlias,
15701570
unitAliasIdentifier,
15711571
symbolAliases,

0 commit comments

Comments
 (0)