cherry-pick 35d31aee onto 1.18 branch

This changenote was committed after the `rc/1.18 branch` was taken.
This commit is contained in:
Nick Rolfe
2018-08-31 18:09:39 +01:00
committed by GitHub
parent 0589be1b8a
commit f6e5be0af8

View File

@@ -33,4 +33,6 @@
## Changes to QL libraries
* *Series of bullet points*
* Fixes for aggregate initializers using designators:
** `ClassAggregateLiteral.getFieldExpr()` previously assumed initializer expressions appeared in the same order as the declaration order of the fields, causing it to associate the expressions with the wrong fields when using designated initializers. This has been fixed.
** `ArrayAggregateLiteral.getElementExpr()` previously assumed initializer expressions appeared in the same order as the corresponding array elements, causing it to associate the expressions with the wrong array elements when using designated initializers. This has been fixed.