Details
-
Type:
Test
-
Status:
Reopened
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: ast builder
-
Labels:None
-
Environment:1.9.0-beta-4-SNAPSHOT
-
Testcase included:yes
-
Patch Submitted:Yes
-
Number of attachments :
Description
AstBuilderFromSpecificationTest.testElvisOperatorExpression() fails because it generates AST of
name ?: 'Anonymous'
but it sets AST of the following as the expected result:
((boolean) name)?: 'Anonymous'
A script like
generates the AST structure that is used in the current test case.
The test is passing as it is and reflects that structure.
Applying the patch make the test fail, on the contrary.