Keep constants for namespaced compilation #1478
checks.yml
on: pull_request
lint
35s
coverage
1m 7s
Matrix: tests
Annotations
5 errors and 2 warnings
tests (plugin-hardhat)
Process completed with exit code 1.
|
lint
Process completed with exit code 1.
|
tests (core)
The job was canceled because "plugin-hardhat" failed.
|
tests (core)
The operation was canceled.
|
coverage
Process completed with exit code 1.
|
lint:
packages/core/src/utils/make-namespaced.ts#L180
Replace `node:·FunctionDefinition,·orig:·Buffer,·replacedIdentifiers:·Set<string>,·modifications:·Modification[]` with `⏎··node:·FunctionDefinition,⏎··orig:·Buffer,⏎··replacedIdentifiers:·Set<string>,⏎··modifications:·Modification[],⏎`
|
lint:
packages/core/src/utils/make-namespaced.ts#L183
Replace `'name'·in·node·&&·!replacedIdentifiers.has(node.name)·&&·(node.kind·===·'function'·||·node.kind·===·'freeFunction')` with `⏎····'name'·in·node·&&⏎····!replacedIdentifiers.has(node.name)·&&⏎····(node.kind·===·'function'·||·node.kind·===·'freeFunction')⏎··`
|