Skip to content

Feature: Add support for spread operator #139

Feature: Add support for spread operator

Feature: Add support for spread operator #139

Triggered via pull request August 27, 2024 03:29
@zackadzackad
synchronize #54
spread-operator
Status Failure
Total duration 27s
Artifacts

ci.yaml

on: pull_request
Matrix: Test
Fit to window
Zoom out
Zoom in

Annotations

4 errors
tests/Expressions/jsfmt.spec.js > Expressions > should handle operators: src/melody/melody-parser/TokenStream.js#L129
Error: ERROR: Invalid map key 33 | <twig:Component {{ ...vars }} /> 34 | {% set numbers = [1, 2, ...moreNumbers] %} > 35 | {% set ratings = {'foo': 10, 'bar': 5, ...moreRatings} %} | ^ 36 | 37 | {{ a is divisible by(b) }} 38 | {{ a is not divisible by(b) }} Key must be a string, symbol or a number but was ... ❯ TokenStream.error src/melody/melody-parser/TokenStream.js:129:24 ❯ Parser.error src/melody/melody-parser/Parser.js:456:21 ❯ Parser.matchMapping src/melody/melody-parser/Parser.js:783:22 ❯ Parser.matchPrimaryExpression src/melody/melody-parser/Parser.js:632:33 ❯ Parser.getPrimary src/melody/melody-parser/Parser.js:586:21 ❯ Parser.matchExpression src/melody/melody-parser/Parser.js:527:25 ❯ Object.parse src/melody/melody-extension-core/parser/set.js:44:36 ❯ Parser.matchTag src/melody/melody-parser/Parser.js:498:31 ❯ Parser.parse src/melody/melody-parser/Parser.js:177:32 ❯ Object.parse src/parser.js:82:24
Test (20)
Process completed with exit code 1.
tests/Expressions/jsfmt.spec.js > Expressions > should handle operators: src/melody/melody-parser/TokenStream.js#L129
Error: ERROR: Invalid map key 33 | <twig:Component {{ ...vars }} /> 34 | {% set numbers = [1, 2, ...moreNumbers] %} > 35 | {% set ratings = {'foo': 10, 'bar': 5, ...moreRatings} %} | ^ 36 | 37 | {{ a is divisible by(b) }} 38 | {{ a is not divisible by(b) }} Key must be a string, symbol or a number but was ... ❯ TokenStream.error src/melody/melody-parser/TokenStream.js:129:24 ❯ Parser.error src/melody/melody-parser/Parser.js:456:21 ❯ Parser.matchMapping src/melody/melody-parser/Parser.js:783:22 ❯ Parser.matchPrimaryExpression src/melody/melody-parser/Parser.js:632:33 ❯ Parser.getPrimary src/melody/melody-parser/Parser.js:586:21 ❯ Parser.matchExpression src/melody/melody-parser/Parser.js:527:25 ❯ Object.parse src/melody/melody-extension-core/parser/set.js:44:36 ❯ Parser.matchTag src/melody/melody-parser/Parser.js:498:31 ❯ Parser.parse src/melody/melody-parser/Parser.js:177:32 ❯ Object.parse src/parser.js:82:24
Test (18)
Process completed with exit code 1.