The issue is with attachment marks: TEST_NEW_INSTANCE is attached by default, so the type ID corresponds to the version with an attached mark (that's why the value is above 65536).
Ideally the postcondition need to be updated. For the time being there are two workarounds, both preventing postcondition violation by getting rid of an attachment mark:
1. Use {detachable TEST_NEW_INSTANCE} instead of {TEST_NEW_INSTANCE}.
2. Use new_instance_of (detachable_type (element_type_id)) instead of new_instance_of (element_type_id).
Regards,
Alexander Kogtenkov
Понедельник, 27 февраля 2017, 11:36 +03:00 от "toff.tillman" <toff.t...@gmail.com>: