Skip to content

Keep constants for namespaced compilation #1478

Keep constants for namespaced compilation

Keep constants for namespaced compilation #1478

Triggered via pull request July 17, 2024 19:15
Status Cancelled
Total duration 1m 17s
Artifacts

checks.yml

on: pull_request
Matrix: tests
Fit to window
Zoom out
Zoom in

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')⏎··`