Commit 205a2613 authored by Adam Knapp's avatar Adam Knapp
Browse files

Faulty subtype checking (issue #447)


Signed-off-by: Adam Knapp's avatarAdam Knapp <adam.knapp@ericsson.com>
parent 52cf65ba
......@@ -329,8 +329,9 @@ public final class SubType implements IIncrementallyUpdateable {
}
}
myOwner.checkThisValue(timestamp, last, null, new ValueCheckingOptions(Expected_Value_type.EXPECTED_CONSTANT, false, false, false, false,
false));
myOwner.checkThisValue(timestamp, last, null, new ValueCheckingOptions(Expected_Value_type.EXPECTED_CONSTANT,
(subtypeType == SubType_type.ST_RECORD || subtypeType == SubType_type.ST_SET),
false, false, false, false));
final IReferenceChain chain = ReferenceChain.getInstance(IReferenceChain.CIRCULARREFERENCE, true);
last = last.getValueRefdLast(timestamp, chain);
chain.release();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment