Menu

#32 Parser accepts invalid union?

open
nobody
Parser (9)
5
2007-11-09
2007-11-09
Uli Otto
No

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.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB