BestRecordStructure output order is incorrect
GordonSmith opened this issue · comments
Gordon Smith commented
The RECORD and END are not in the correct order (END comes first):
NewLayout := RECORD
END;
//----------
NewLayout MakeNewLayout(OldLayout r) := TRANSFORM
SELF.lon := (REAL8)r.lon;
SELF.lat := (REAL8)r.lat;
SELF := r;
END;
REAL8 lon;
REAL8 lat;
STRING18 number;
STRING300 street;
STRING24 unit;
STRING30 city;
STRING17 district;
STRING7 region;
STRING10 postcode;
STRING24 id;
STRING16 hash;
Dan S. Camper commented
Fixed with PR#35