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
Please consider the enclosed example:
Examples.Example1 is ok - I can redeclare driveData.data
Examples.Example2: extends from partial PartialExample (which is the same as Example1).
If I try to redeclare the driveData.data I get the following error message:
Unable to set the extends modifier value using command setExtendsModifierValue(Test.Examples.Example2, Test.Examples.PartialExample, driveData.data, $Code(=redeclare Test.ParameterRecords.DataB data))
Actually, this looks like an OMEdit issue. I assumed it was just the error message that showed the modifier wrong, but it seems like OMEdit might be calling the API with the wrong syntax. Fixing the syntax on the modifier and calling it in a script works:
However, I think driveData.data for the third argument is wrong, it should just be driveData since otherwise the redeclare of data is put on data itself (i.e. driveData.data(redeclare ... data) instead of the correct driveData(redeclare ... data)).
Please consider the enclosed example:
Examples.Example1 is ok - I can redeclare driveData.data
Examples.Example2: extends from partial PartialExample (which is the same as Example1).
If I try to redeclare the driveData.data I get the following error message:
Unable to set the extends modifier value using command setExtendsModifierValue(Test.Examples.Example2, Test.Examples.PartialExample, driveData.data, $Code(=redeclare Test.ParameterRecords.DataB data))
Please try to explain a work-around, I need this in my Master course at the university.
Also interested: @christiankral
Test.zip
The text was updated successfully, but these errors were encountered: