When defining a reference to a COMP in my extension, this reference will break when loading a component with a different OP-Type.
After that, using the reference will result in a SystemError
SystemError: error return without exception set
As long as they stay the same OP-Type, the reference seems to stay valid.
Please find a minimum reproduction here: (Use the PulseParameter to load diferent styles of COMPs)
LoadingRefIssue.zip (5.2 KB)
Imho, the replace operator should be marked as invalid and throw the appropiate exception.
Best, Wieland