Skip to content
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.

Commit

Permalink
fix(compiler): update replace signal after inheriting location (#1595)
Browse files Browse the repository at this point in the history
* fix: update replace signal after inheriting location

* Update snapshots
  • Loading branch information
yassere authored Jun 25, 2021
1 parent 9580312 commit 1fca935
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions internal/compiler/lib/CompilerPath.ts
Original file line number Diff line number Diff line change
Expand Up @@ -482,6 +482,7 @@ export default class CompilerPath {
loc: inheritLoc(old),
};
}
fixed = {...fixed, value};
}

return fixed;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,6 @@ foo?.bar.baz;

```ts
let foo = {};

foo?.bar?.("baz")

```
Expand Down

0 comments on commit 1fca935

Please sign in to comment.