Record translation doesn't spot a clash between a named source field and a target that's a nested record

Description

e.g. if src is:
srcRec := RECORD
DATASET(childrec) kids;
END;

and destination is:
dstRec := RECORD
childrec kids;
END;

This should be an error, but instead the target fields are filled by defaults, and the source is dropped.

Whenever the target is a nested record like this, and the source isn't, it should be an error.
Q: what about the case where the source contains all the fields (or some) of the nested record?

Conclusion

None

Activity

Show:
Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Components

Assignee

Reporter

Priority

Created August 21, 2020 at 11:15 AM
Updated September 3, 2020 at 3:03 PM
Resolved September 3, 2020 at 3:03 PM

Flag notifications