It looks like usage of generics was introduced in an earlier version(probably 4.7?) which made GroupByElements list of Expressions be an ExpressionList<Expression>
However, the method getGroupByExpressionList returns the raw ExpressionList.
This causes problems when iterating through the list, so we need to explicitly cast the returned list to ExpressionList<Expression>
Since the internal List is of ExpressionList I would think the method getGroupByExpressionList should return ExpressionList<Expression> and not the raw ExpressionList
It looks like usage of generics was introduced in an earlier version(probably 4.7?) which made GroupByElements list of Expressions be an
ExpressionList<Expression>However, the method getGroupByExpressionList returns the raw ExpressionList.
This causes problems when iterating through the list, so we need to explicitly cast the returned list to
ExpressionList<Expression>Since the internal List is of ExpressionList I would think the method getGroupByExpressionList should return
ExpressionList<Expression>and not the raw ExpressionList