Open miguelafr opened 9 years ago
A way to get around this should be to move the "add" function you created to a different module. It should not throw an exception anyway (bug). I can probably implement the cons operator later (enhancement).
That approach works. We can mark this ticket with a low priority if you want.
With a QuickCheck state machine that has an operation that defines the following next_state function:
I get the following error:
If I replace this code:
with this code:
I don't get the error, so I guess the problem is in that line. I've tried to avoid the expression [NewRoom | S#state.rooms] using a function add(NewRoom, S#state.rooms), where:
but I still get the error.