Parser accepts invalid union?
Brought to you by:
hwellmann
In psi/poi/attribute.ds there is the following union (comments left out):
union FeatureReference(FeatureTypeCode featureTypeCode )
{
NameBuildingBlockFeatureIndex nameFeatureId;
PoiPartitionCode poiPartitionCode;
};
Parse accepts it, but the semantic is not clear. We think that an error should be raised, if such unions are parsed.
Cheers,
Uli.