camunda / dmn-tck

Decision Model and Notation Technology Compatibility Kit
0 stars 1 forks source link

0093-feel-at-literals #26

Open saig0 opened 3 years ago

saig0 commented 3 years ago
Failed to parse FEEL expression '@"foo"': failed to parse expression '@"foo"': Expected (functionDefinition | forExpression | ifExpression | quantifiedExpression | expression2):1:1, found "@\"foo\""
Failed to parse FEEL expression '@"2019-03-31" instance of date': failed to parse expression '@"2019-03-31" instance of date': Expected (functionDefinition | forExpression | ifExpression | quantifiedExpression | expression2):1:1, found "@\"2019-03-"
Failed to parse FEEL expression '@"2019-03-31"': failed to parse expression '@"2019-03-31"': Expected (functionDefinition | forExpression | ifExpression | quantifiedExpression | expression2):1:1, found "@\"2019-03-"
Failed to parse FEEL expression '@"2018-12-08T10:30:11" instance of date and time': failed to parse expression '@"2018-12-08T10:30:11" instance of date and time': Expected (functionDefinition | forExpression | ifExpression | quantifiedExpression | expression2):1:1, found "@\"2018-12-"
Failed to parse FEEL expression '@"2018-12-08T10:30:11"': failed to parse expression '@"2018-12-08T10:30:11"': Expected (functionDefinition | forExpression | ifExpression | quantifiedExpression | expression2):1:1, found "@\"2018-12-"
Failed to parse FEEL expression '@"2018-12-08T10:30:11@Australia/Melbourne" instance of date and time': failed to parse expression '@"2018-12-08T10:30:11@Australia/Melbourne" instance of date and time': Expected (functionDefinition | forExpression | ifExpression | quantifiedExpression | expression2):1:1, found "@\"2018-12-"
Failed to parse FEEL expression 'string(@"2018-12-08T10:30:11@Australia/Melbourne")': failed to parse expression 'string(@"2018-12-08T10:30:11@Australia/Melbourne")': Expected (StringIn("<=", ">=", "<", ">", "!=", "=") | "between" | "in" | "and" | "or" | end-of-input):1:7, found "(@\"2018-12"
Failed to parse FEEL expression '@"2018-12-08T10:30:11+11:00" instance of date and time': failed to parse expression '@"2018-12-08T10:30:11+11:00" instance of date and time': Expected (functionDefinition | forExpression | ifExpression | quantifiedExpression | expression2):1:1, found "@\"2018-12-"
Failed to parse FEEL expression '@"2018-12-08T10:30:11+11:00"': failed to parse expression '@"2018-12-08T10:30:11+11:00"': Expected (functionDefinition | forExpression | ifExpression | quantifiedExpression | expression2):1:1, found "@\"2018-12-"
Failed to parse FEEL expression '@"10:30:11" instance of time': failed to parse expression '@"10:30:11" instance of time': Expected (functionDefinition | forExpression | ifExpression | quantifiedExpression | expression2):1:1, found "@\"10:30:11"
Failed to parse FEEL expression '@"10:30:11"': failed to parse expression '@"10:30:11"': Expected (functionDefinition | forExpression | ifExpression | quantifiedExpression | expression2):1:1, found "@\"10:30:11"
Failed to parse FEEL expression '@"10:30:11+11:00" instance of time': failed to parse expression '@"10:30:11+11:00" instance of time': Expected (functionDefinition | forExpression | ifExpression | quantifiedExpression | expression2):1:1, found "@\"10:30:11"
Failed to parse FEEL expression '@"10:30:11+11:00"': failed to parse expression '@"10:30:11+11:00"': Expected (functionDefinition | forExpression | ifExpression | quantifiedExpression | expression2):1:1, found "@\"10:30:11"
Failed to parse FEEL expression '@"10:30:11@Australia/Melbourne" instance of time': failed to parse expression '@"10:30:11@Australia/Melbourne" instance of time': Expected (functionDefinition | forExpression | ifExpression | quantifiedExpression | expression2):1:1, found "@\"10:30:11"
Failed to parse FEEL expression 'string(@"10:30:11@Australia/Melbourne")': failed to parse expression 'string(@"10:30:11@Australia/Melbourne")': Expected (StringIn("<=", ">=", "<", ">", "!=", "=") | "between" | "in" | "and" | "or" | end-of-input):1:7, found "(@\"10:30:1"
Failed to parse FEEL expression '@"P10D" instance of days and time duration': failed to parse expression '@"P10D" instance of days and time duration': Expected (functionDefinition | forExpression | ifExpression | quantifiedExpression | expression2):1:1, found "@\"P10D\" in"
Failed to parse FEEL expression '@"P10D"': failed to parse expression '@"P10D"': Expected (functionDefinition | forExpression | ifExpression | quantifiedExpression | expression2):1:1, found "@\"P10D\""
Failed to parse FEEL expression '@"P10Y" instance of years and months duration': failed to parse expression '@"P10Y" instance of years and months duration': Expected (functionDefinition | forExpression | ifExpression | quantifiedExpression | expression2):1:1, found "@\"P10Y\" in"
Failed to parse FEEL expression '@"P10Y"': failed to parse expression '@"P10Y"': Expected (functionDefinition | forExpression | ifExpression | quantifiedExpression | expression2):1:1, found "@\"P10Y\""
saig0 commented 3 years ago

Camunda runner:

Executing test '0093-feel-at-literals-test-01 / date_001'
Test failure: Expected 'true' but an error is thrown: FeelException: FEEL/SCALA-01008 Error while evaluating expression: failed to parse expression '@&quot;2019-03-31&quot; instance of date': Expected (functionDefinition | forExpression | ifExpression | quantifiedExpression | expression2):1:1, found &quot;@\&quot;2019-03-&quot;

Executing test '0093-feel-at-literals-test-01 / date_002'
Test failure: Expected '2019-03-31' but an error is thrown: FeelException: FEEL/SCALA-01008 Error while evaluating expression: failed to parse expression '@&quot;2019-03-31&quot;': Expected (functionDefinition | forExpression | ifExpression | quantifiedExpression | expression2):1:1, found &quot;@\&quot;2019-03-&quot;

Executing test '0093-feel-at-literals-test-01 / datetime_001'
Test failure: Expected 'true' but an error is thrown: FeelException: FEEL/SCALA-01008 Error while evaluating expression: failed to parse expression '@&quot;2018-12-08T10:30:11&quot; instance of date and time': Expected (functionDefinition | forExpression | ifExpression | quantifiedExpression | expression2):1:1, found &quot;@\&quot;2018-12-&quot;

...
saig0 commented 3 years ago

https://github.com/camunda/feel-scala/issues/297

saig0 commented 2 years ago

https://github.com/camunda/feel-scala/issues/543