fix and build #29
Annotations
10 errors and 2 warnings
TypeError: undefined is not an object (evaluating 'scope.add'):
src/parser/index.ts#L457
at parseFunctionImport (/home/runner/work/Zep/Zep/src/parser/index.ts:457: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#L529
at parseReferenceExpression (/home/runner/work/Zep/Zep/src/parser/index.ts:529:10)
at parseExpression (/home/runner/work/Zep/Zep/src/parser/index.ts:92:62)
at parseBinaryExpression (/home/runner/work/Zep/Zep/src/parser/index.ts:581:41)
at parseExpression (/home/runner/work/Zep/Zep/src/parser/index.ts:84:59)
at parseVariableDeclaration (/home/runner/work/Zep/Zep/src/parser/index.ts:145: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#L529
at parseReferenceExpression (/home/runner/work/Zep/Zep/src/parser/index.ts:529:10)
at parseExpression (/home/runner/work/Zep/Zep/src/parser/index.ts:92:62)
at parseBinaryExpression (/home/runner/work/Zep/Zep/src/parser/index.ts:581:41)
at parseExpression (/home/runner/work/Zep/Zep/src/parser/index.ts:84:59)
at parseCallExpression (/home/runner/work/Zep/Zep/src/parser/index.ts:504: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#L209
at parseFunctionDeclaration (/home/runner/work/Zep/Zep/src/parser/index.ts:209: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
|
error: expect(received).toBe(expected):
lib/tests/parser.test.js#L89
Expected: "add"
Received: undefined
at /home/runner/work/Zep/Zep/lib/tests/parser.test.js:89:92
|
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 uses Node.js version which is deprecated 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/
|