File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -420,13 +420,13 @@ protected Statement parseImport(Position startLoc) {
420420 * Parses an import.meta expression, assuming that the initial "import" and "." has been consumed.
421421 */
422422 private MetaProperty parseImportMeta (Position loc ) {
423- Identifier importIdentifier = new Identifier (new SourceLocation (loc ), "import" );
424423 Position propertyLoc = this .startLoc ;
425424 Identifier property = this .parseIdent (true );
426425 if (!property .getName ().equals ("meta" )) {
427426 this .unexpected (propertyLoc );
428427 }
429- return this .finishNode (new MetaProperty (new SourceLocation (loc ), importIdentifier , property ));
428+ return this .finishNode (
429+ new MetaProperty (new SourceLocation (loc ), new Identifier (new SourceLocation (loc ), "import" ), property ));
430430 }
431431
432432 /**
You can’t perform that action at this time.
0 commit comments