Skip to content

Commit 1ed82d6

Browse files
authored
Merge pull request #124 from nickrolfe/desig_init_changenote
C++: change note for designated intializer fixes
2 parents 6c73964 + 35d31ae commit 1ed82d6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

change-notes/1.18/analysis-cpp.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,6 @@
3333

3434
## Changes to QL libraries
3535

36-
* *Series of bullet points*
36+
* Fixes for aggregate initializers using designators:
37+
** `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.
38+
** `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.

0 commit comments

Comments
 (0)