When we use a typehint of type BinaryOperation.Operator it instead poitnts to Operation.Operator (which is a dummy class).
The options to fix it are:
- Use quoted type hint, i.e.
"BinaryOperation.Operator" or similar.
- (Less certain) Update the Operator subclass to be a defined class, similar to IntrinsicNode.Intrinsic, so it is recognized correctly as a class and not just a value(?).
When we use a typehint of type
BinaryOperation.Operatorit instead poitnts toOperation.Operator(which is a dummy class).The options to fix it are:
"BinaryOperation.Operator"or similar.