type inst =
| InstRR of opcode * reg * reg
| InstRI of opcode * reg * imm;;
the error i get is : This expression has type inst/47646
list
but an expression was expected of type inst/48106
list
Type inst/47646
is not compatible with type inst/48106
but the list i'm sending is of type inst it's a list of InstRI
and InstRR
what could be the problem?