You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When generating fields, the encodingToken is passed to the generate*Property() methods and the properties from the enclosing signalToken are ignored. In particular, using sinceVersion on a field has no effect. Any fields using primitive types will never output code from generateFieldNotPresentCondition(). Also, and misleadingly, fields using custom or composite types will output version checking code based on the sinceVersion specified in the type.
The text was updated successfully, but these errors were encountered:
The sinceVersion on the type should be considered but it is overridden by the value on the field. The value from the field will be set in the IR based on the type if none is set on the field. The C# codes should use the value from the field. The Java and C++ codecs use the value from the field. In the past this was confused as the standard moved around on this topic.
When generating fields, the
encodingToken
is passed to thegenerate*Property()
methods and the properties from the enclosingsignalToken
are ignored. In particular, usingsinceVersion
on a field has no effect. Any fields using primitive types will never output code fromgenerateFieldNotPresentCondition()
. Also, and misleadingly, fields using custom or composite types will output version checking code based on thesinceVersion
specified in thetype
.The text was updated successfully, but these errors were encountered: