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
Describe the bug
The bug occurs in the "Test 2: Instantiation - defaults" test, where it fails to pass when a child class declares a new item property while the parent class already has a result property.
To Reproduce
Steps to reproduce the behavior:
Create an element with a result property
Create another element, inherited from the first element, with a new item property in it
compile and run the test of that child element
Expected behavior
The test "Test 2: Instantiation - defaults" should run without errors. However, an error will occur in this test, specifically when the check on the new item property is performed. In the example provided, the 'SUB' property in the figure NNData_CON_REG(9) fails the check.
Desktop (please complete the following information):
OS: Windows
Additional context
The likely reason for this bug is that the item value from the initialized element is different from the item value from the default function. The difference arises because one of the item values is locked due to the result property being advanced compared to the item property. Consequently, when the initialized element goes through the result property, it locks the item property prematurely, leading to the failure in the "Test 2: Instantiation - defaults" test.
The text was updated successfully, but these errors were encountered:
Describe the bug
The bug occurs in the "Test 2: Instantiation - defaults" test, where it fails to pass when a child class declares a new item property while the parent class already has a result property.
To Reproduce
Steps to reproduce the behavior:
Expected behavior

The test "Test 2: Instantiation - defaults" should run without errors. However, an error will occur in this test, specifically when the check on the new item property is performed. In the example provided, the 'SUB' property in the figure NNData_CON_REG(9) fails the check.
Desktop (please complete the following information):
Additional context
The likely reason for this bug is that the item value from the initialized element is different from the item value from the default function. The difference arises because one of the item values is locked due to the result property being advanced compared to the item property. Consequently, when the initialized element goes through the result property, it locks the item property prematurely, leading to the failure in the "Test 2: Instantiation - defaults" test.
The text was updated successfully, but these errors were encountered: