HewlettPackard / mds

Managed Data Structures
GNU General Public License v3.0
27 stars 5 forks source link

Implement multiple inheritence of records #29

Open EvanKirshenbaum opened 7 years ago

EvanKirshenbaum commented 7 years ago

[imported from HPE issue 196]

The Java and C++ APIs for records, including the annotation-generated code, assumes that records support multiple inheritance. The core, on the other hand, only actually supports single inheritance and throws an exception if you try to multiply inherit. I don't recall what the actual problem was (something about field offsets, I believe), but it would be nice to actually have multiple inheritance implemented.