Skip to content

Commit

Permalink
v18.1.6
Browse files Browse the repository at this point in the history
  • Loading branch information
cd1m0 committed Apr 30, 2024
1 parent 9a0950a commit 8458197
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "solc-typed-ast",
"version": "18.1.5",
"version": "18.1.6",
"description": "A TypeScript library providing a normalized typed Solidity AST along with the utilities necessary to generate the AST (from Solc) and traverse/manipulate it.",
"keywords": [],
"files": [
Expand Down
2 changes: 1 addition & 1 deletion src/ast/ast_node_factory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1074,7 +1074,7 @@ export class ASTNodeFactory {
return node;
}

copy<T extends ASTNode>(node: T, remappings: IDMap | undefined): T {
copy<T extends ASTNode>(node: T, remappings?: IDMap): T {
const cache = new Map<number, number>(remappings ? remappings.entries() : []);
const clone = this.copyHelper(node, cache);
const context = this.context;
Expand Down

0 comments on commit 8458197

Please sign in to comment.