Perform parser optimizations in production mode #2540
Annotations
13 errors and 1 warning
packages/langium/src/grammar/internal-grammar-util.ts#L192
Type '() => LanguageMetaData | { caseInsensitive: false; fileExtensions: string[]; languageId: string; }' is not assignable to type 'Module<LangiumGeneratedCoreServices, LanguageMetaData> | ((injector: LangiumGeneratedCoreServices) => LanguageMetaData)'.
|
packages/langium-railroad/src/grammar-railroad.ts#L7
Cannot find module 'langium' or its corresponding type declarations.
|
packages/langium-railroad/src/grammar-railroad.ts#L8
Cannot find module 'langium/generate' or its corresponding type declarations.
|
packages/langium-railroad/src/grammar-railroad.ts#L123
Parameter 'e' implicitly has an 'any' type.
|
packages/langium-railroad/src/grammar-railroad.ts#L125
Parameter 'e' implicitly has an 'any' type.
|
packages/langium-railroad/src/grammar-railroad.ts#L129
Parameter 'e' implicitly has an 'any' type.
|
packages/langium-sprotty/src/trace-provider.ts#L7
Cannot find module 'langium' or its corresponding type declarations.
|
packages/langium-sprotty/src/trace-provider.ts#L12
Cannot find module 'langium' or its corresponding type declarations.
|
packages/langium-sprotty/src/trace-provider.ts#L95
Parameter 'node' implicitly has an 'any' type.
|
packages/langium-sprotty/src/diagram-generator.ts#L7
Cannot find module 'langium' or its corresponding type declarations.
|
examples/arithmetics/test/arithmetics-cli.test.ts#L21
AssertionError: Result code should be 0: expected 1 to be +0 // Object.is equality
- Expected
+ Received
- 0
+ 1
❯ examples/arithmetics/test/arithmetics-cli.test.ts:21:56
|
examples/statemachine/test/statemachine-cli.test.ts#L20
AssertionError: expected 1 to be +0 // Object.is equality
- Expected
+ Received
- 0
+ 1
❯ examples/statemachine/test/statemachine-cli.test.ts:20:29
|
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
This job failed
Loading