Skip to content

Report error for function declarations as statement children in strict mode #34909

Report error for function declarations as statement children in strict mode

Report error for function declarations as statement children in strict mode #34909

Triggered via pull request December 15, 2025 18:43
Status Failure
Total duration 59m 13s
Artifacts 1

ci.yml

on: pull_request
Matrix: test
required
3s
required
Fit to window
Zoom out
Zoom in

Annotations

168 errors
Test Node 24 on ubuntu-latest
A namespace declaration
Test Node 24 on ubuntu-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 24 on ubuntu-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 24 on ubuntu-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 24 on ubuntu-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 24 on ubuntu-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 24 on ubuntu-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 24 on ubuntu-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 24 on ubuntu-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 24 on ubuntu-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 24 on ubuntu-latest
Process completed with exit code 1.
baselines
Process completed with exit code 1.
Test Node 24 on windows-latest
A namespace declaration
Test Node 24 on windows-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 24 on windows-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 24 on windows-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 24 on windows-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 24 on windows-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 24 on windows-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 24 on windows-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 24 on windows-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 24 on windows-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 24 on windows-latest
Process completed with exit code 1.
Test Node 22 on ubuntu-latest
A namespace declaration
Test Node 22 on ubuntu-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 22 on ubuntu-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 22 on ubuntu-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 22 on ubuntu-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 22 on ubuntu-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 22 on ubuntu-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 22 on ubuntu-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 22 on ubuntu-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 22 on ubuntu-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 22 on ubuntu-latest
Process completed with exit code 1.
Test Node lts/* on ubuntu-latest with --no-bundle
A namespace declaration
Test Node lts/* on ubuntu-latest with --no-bundle
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node lts/* on ubuntu-latest with --no-bundle
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node lts/* on ubuntu-latest with --no-bundle
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node lts/* on ubuntu-latest with --no-bundle
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node lts/* on ubuntu-latest with --no-bundle
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node lts/* on ubuntu-latest with --no-bundle
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node lts/* on ubuntu-latest with --no-bundle
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node lts/* on ubuntu-latest with --no-bundle
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node lts/* on ubuntu-latest with --no-bundle
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node lts/* on ubuntu-latest with --no-bundle
Process completed with exit code 1.
Test Node 20 on ubuntu-latest
A namespace declaration
Test Node 20 on ubuntu-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 20 on ubuntu-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 20 on ubuntu-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 20 on ubuntu-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 20 on ubuntu-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 20 on ubuntu-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 20 on ubuntu-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 20 on ubuntu-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 20 on ubuntu-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 20 on ubuntu-latest
Process completed with exit code 1.
Test Node 16 on ubuntu-latest
A namespace declaration
Test Node 16 on ubuntu-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 16 on ubuntu-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 16 on ubuntu-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 16 on ubuntu-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 16 on ubuntu-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 16 on ubuntu-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 16 on ubuntu-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 16 on ubuntu-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 16 on ubuntu-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 16 on ubuntu-latest
Process completed with exit code 1.
Test Node 14 on ubuntu-latest
A namespace declaration
Test Node 14 on ubuntu-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 14 on ubuntu-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 14 on ubuntu-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 14 on ubuntu-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 14 on ubuntu-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 14 on ubuntu-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 14 on ubuntu-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 14 on ubuntu-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 14 on ubuntu-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 14 on ubuntu-latest
Process completed with exit code 1.
Test Node 22 on windows-latest
A namespace declaration
Test Node 22 on windows-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 22 on windows-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 22 on windows-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 22 on windows-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 22 on windows-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 22 on windows-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 22 on windows-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 22 on windows-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 22 on windows-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 22 on windows-latest
Process completed with exit code 1.
Test Node 20 on windows-latest
A namespace declaration
Test Node 20 on windows-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 20 on windows-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 20 on windows-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 20 on windows-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 20 on windows-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 20 on windows-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 20 on windows-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 20 on windows-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 20 on windows-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 20 on windows-latest
Process completed with exit code 1.
Test Node 14 on windows-latest
A namespace declaration
Test Node 14 on windows-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 14 on windows-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 14 on windows-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 14 on windows-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 14 on windows-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 14 on windows-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 14 on windows-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 14 on windows-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 14 on windows-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 14 on windows-latest
Process completed with exit code 1.
Test Node 18 on ubuntu-latest
A namespace declaration
Test Node 18 on ubuntu-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 18 on ubuntu-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 18 on ubuntu-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 18 on ubuntu-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 18 on ubuntu-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 18 on ubuntu-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 18 on ubuntu-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 18 on ubuntu-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 18 on ubuntu-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 18 on ubuntu-latest
Process completed with exit code 1.
Test Node 18 on windows-latest
A namespace declaration
Test Node 18 on windows-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 18 on windows-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 18 on windows-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 18 on windows-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 18 on windows-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 18 on windows-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 18 on windows-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 18 on windows-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 18 on windows-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 18 on windows-latest
Process completed with exit code 1.
Test Node 16 on windows-latest
A namespace declaration
Test Node 16 on windows-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 16 on windows-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 16 on windows-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 16 on windows-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 16 on windows-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 16 on windows-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 16 on windows-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 16 on windows-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 16 on windows-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 16 on windows-latest
Process completed with exit code 1.
coverage
Process completed with exit code 1.
Test Node 16 on macos-latest
A namespace declaration
Test Node 16 on macos-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 16 on macos-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 16 on macos-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 16 on macos-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 16 on macos-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 16 on macos-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 16 on macos-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 16 on macos-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 16 on macos-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 16 on macos-latest
Process completed with exit code 1.
Test Node 24 on macos-latest
A namespace declaration
Test Node 24 on macos-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 24 on macos-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 24 on macos-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 24 on macos-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 24 on macos-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 24 on macos-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 24 on macos-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 24 on macos-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 24 on macos-latest
Function declarations are not allowed inside statements. Use a block statement to wrap the function declaration.
Test Node 24 on macos-latest
Process completed with exit code 1.
required
Process completed with exit code 1.

Artifacts

Produced during runtime
Name Size Digest
fix_baselines.patch Expired
834 Bytes
sha256:984fd2a6ba9c80a3227fd975669c067b690d6908bae237a821c968ada16e0519