Skip to content

new tokenizer

new tokenizer #33

Triggered via push November 8, 2024 05:15
Status Failure
Total duration 21s
Artifacts

bun.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
error: expect(received).toBe(expected): tests/parser.test.ts#L34
Expected: "this is a string" Received: "\"this is a string\"" at /home/runner/work/Zep/Zep/tests/parser.test.ts:34:24
TypeError: undefined is not an object (evaluating 'scope.add'): src/parser/index.ts#L436
at parseFunctionImport (/home/runner/work/Zep/Zep/src/parser/index.ts:436:5) at /home/runner/work/Zep/Zep/tests/parser.test.ts:48:25
TypeError: undefined is not an object (evaluating 'scope.has'): src/parser/index.ts#L508
at parseReferenceExpression (/home/runner/work/Zep/Zep/src/parser/index.ts:508:10) at parseExpression (/home/runner/work/Zep/Zep/src/parser/index.ts:99:62) at parseBinaryExpression (/home/runner/work/Zep/Zep/src/parser/index.ts:560:41) at parseExpression (/home/runner/work/Zep/Zep/src/parser/index.ts:91:59) at parseVariableDeclaration (/home/runner/work/Zep/Zep/src/parser/index.ts:127:24) at /home/runner/work/Zep/Zep/tests/parser.test.ts:68:25
TypeError: undefined is not an object (evaluating 'scope.has'): src/parser/index.ts#L508
at parseReferenceExpression (/home/runner/work/Zep/Zep/src/parser/index.ts:508:10) at parseExpression (/home/runner/work/Zep/Zep/src/parser/index.ts:99:62) at parseBinaryExpression (/home/runner/work/Zep/Zep/src/parser/index.ts:560:41) at parseExpression (/home/runner/work/Zep/Zep/src/parser/index.ts:91:59) at parseCallExpression (/home/runner/work/Zep/Zep/src/parser/index.ts:483:24) at /home/runner/work/Zep/Zep/tests/parser.test.ts:82:25
TypeError: undefined is not an object (evaluating 'scope.parentScope'): src/parser/index.ts#L190
at parseFunctionDeclaration (/home/runner/work/Zep/Zep/src/parser/index.ts:190:9) at /home/runner/work/Zep/Zep/tests/parser.test.ts:103:25
error: expect(received).toBe(expected): lib/tests/parser.test.js#L16
Expected: "1024" Received: undefined at /home/runner/work/Zep/Zep/lib/tests/parser.test.js:16:87
error: expect(received).toBe(expected): lib/tests/parser.test.js#L26
Expected: "this is a string" Received: undefined at /home/runner/work/Zep/Zep/lib/tests/parser.test.js:26:87
error: expect(received).toBe(expected): lib/tests/parser.test.js#L41
Expected: "print" Received: undefined at /home/runner/work/Zep/Zep/lib/tests/parser.test.js:41:92
error: expect(received).toBe(expected): lib/tests/parser.test.js#L58
Expected: false Received: undefined at /home/runner/work/Zep/Zep/lib/tests/parser.test.js:58:90
TypeError: undefined is not an object (evaluating 'scope.has'): lib/src/parser/index.js#L442
at parseReferenceExpression (/home/runner/work/Zep/Zep/lib/src/parser/index.js:442:14) at parseExpression (/home/runner/work/Zep/Zep/lib/src/parser/index.js:95:66) at parseBinaryExpression (/home/runner/work/Zep/Zep/lib/src/parser/index.js:485:25) at parseExpression (/home/runner/work/Zep/Zep/lib/src/parser/index.js:92:63) at parseCallExpression (/home/runner/work/Zep/Zep/lib/src/parser/index.js:423:30) at /home/runner/work/Zep/Zep/lib/tests/parser.test.js:69:29
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/