Details
-
Bug
-
Resolution: Duplicate
-
Major - P3
-
None
-
None
-
None
-
None
-
Service Arch
Description
The IDL generator currently generates constructor initializer lists with limited knowledge of the relation of fields to one another. SERVER-75668 identified a use-after-move error wher a NamespaceString or NamespaceStringOrUUID type was used after moving it to a local variable. We should improve the methods that generate constructors and the initialization lists so we can declare the fields in the right order and prevent this class of error.
Attachments
Issue Links
- duplicates
-
SERVER-74238 IDL Compiler Can Generate Use-After-Move When Generating Struct Initializer Lists
-
- Closed
-
- related to
-
SERVER-75997 Complete TODO listed in SERVER-75669
-
- Closed
-