-
Type:
Bug
-
Resolution: Duplicate
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Service Arch
-
None
-
3
-
None
-
None
-
None
-
None
-
None
-
None
-
None
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.
- 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
-