fix: prevent Instruction::Constrains for non-primitive types
#3916
+24
−105
Instruction::Constrains for non-primitive types
#3916