Skip to content

Add indentation-aware TokenBuilder and Lexer #2419

Add indentation-aware TokenBuilder and Lexer

Add indentation-aware TokenBuilder and Lexer #2419

Re-run triggered July 14, 2024 11:11
Status Failure
Total duration 1m 51s
Artifacts

actions.yml

on: pull_request
Langium Lint
25s
Langium Lint
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

36 errors and 3 warnings
Langium Lint: packages/langium/src/parser/token-builder.ts#L195
Cannot find name 'createToken'.
Langium Lint: packages/langium/src/parser/token-builder.ts#L201
Cannot find name 'createToken'.
Langium Lint: packages/langium/src/parser/token-builder.ts#L208
Cannot find namespace 'GrammarAST'.
Langium Lint: packages/langium/src/parser/token-builder.ts#L210
Cannot find name 'isTokenTypeArray'.
Langium Lint: packages/langium/src/parser/token-builder.ts#L218
Property 'find' does not exist on type 'TokenVocabulary'.
Langium Lint: packages/langium/src/parser/token-builder.ts#L218
Parameter 'tok' implicitly has an 'any' type.
Langium Lint: packages/langium/src/parser/token-builder.ts#L219
Property 'find' does not exist on type 'TokenVocabulary'.
Langium Lint: packages/langium/src/parser/token-builder.ts#L219
Parameter 'tok' implicitly has an 'any' type.
Langium Lint: packages/langium/src/parser/token-builder.ts#L220
Property 'find' does not exist on type 'TokenVocabulary'.
Langium Lint: packages/langium/src/parser/token-builder.ts#L220
Parameter 'tok' implicitly has an 'any' type.
Langium CI (ubuntu-latest): packages/langium/src/parser/token-builder.ts#L208
Cannot find namespace 'GrammarAST'.
Langium CI (ubuntu-latest): packages/langium/src/parser/token-builder.ts#L210
Cannot find name 'isTokenTypeArray'.
Langium CI (ubuntu-latest): packages/langium/src/parser/token-builder.ts#L218
Property 'find' does not exist on type 'TokenVocabulary'.
Langium CI (ubuntu-latest): packages/langium/src/parser/token-builder.ts#L218
Parameter 'tok' implicitly has an 'any' type.
Langium CI (ubuntu-latest): packages/langium/src/parser/token-builder.ts#L219
Property 'find' does not exist on type 'TokenVocabulary'.
Langium CI (ubuntu-latest): packages/langium/src/parser/token-builder.ts#L219
Parameter 'tok' implicitly has an 'any' type.
Langium CI (ubuntu-latest): packages/langium/src/parser/token-builder.ts#L220
Property 'find' does not exist on type 'TokenVocabulary'.
Langium CI (ubuntu-latest): packages/langium/src/parser/token-builder.ts#L220
Parameter 'tok' implicitly has an 'any' type.
examples/arithmetics/test/arithmetics-cli.test.ts > Test the arithmetics CLI > Generator command returns code 0: 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 > Test the statemachine CLI > Generator command returns code 0 and creates expected files: 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
Langium CI (ubuntu-latest)
Process completed with exit code 1.
examples/arithmetics/test/arithmetics-cli.test.ts > Test the arithmetics CLI > Generator command returns code 0: 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 > Test the statemachine CLI > Generator command returns code 0 and creates expected files: 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
Langium CI (windows-latest)
Process completed with exit code 1.
Langium CI (windows-latest): packages/langium/src/parser/token-builder.ts#L208
Cannot find namespace 'GrammarAST'.
Langium CI (windows-latest): packages/langium/src/parser/token-builder.ts#L210
Cannot find name 'isTokenTypeArray'.
Langium CI (windows-latest): packages/langium/src/parser/token-builder.ts#L218
Property 'find' does not exist on type 'TokenVocabulary'.
Langium CI (windows-latest): packages/langium/src/parser/token-builder.ts#L218
Parameter 'tok' implicitly has an 'any' type.
Langium CI (windows-latest): packages/langium/src/parser/token-builder.ts#L219
Property 'find' does not exist on type 'TokenVocabulary'.
Langium CI (windows-latest): packages/langium/src/parser/token-builder.ts#L219
Parameter 'tok' implicitly has an 'any' type.
Langium CI (windows-latest): packages/langium/src/parser/token-builder.ts#L220
Property 'find' does not exist on type 'TokenVocabulary'.
Langium CI (windows-latest): packages/langium/src/parser/token-builder.ts#L220
Parameter 'tok' implicitly has an 'any' type.
Langium Lint
The following actions uses Node.js version which is deprecated 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/
Langium CI (ubuntu-latest)
The following actions uses Node.js version which is deprecated 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/
Langium CI (windows-latest)
The following actions uses Node.js version which is deprecated 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/