SpEL's CompoundExpression.toStringAST()
incorrectly includes .
for indexed properties
#30610
Labels
Milestone
I discovered this bug while writing tests for gh-30580.
spring-framework/spring-expression/src/test/java/org/springframework/expression/spel/ParsingTests.java
Line 74 in aa2a067
Essentially, an expression like
property1[0].property2['key'].methodOne()
should have an identical AST string representation; whereas, the current AST string representation isproperty1.[0].property2.['key'].methodOne()
with a.
preceding every indexed property access.The text was updated successfully, but these errors were encountered: