I am having trouble with some case statements and have tried to reduce the statements down for a bug but then they seem to work. Am I missing something simple?
Here is the case statement that is not compiling.
This fails with the error.
Error: no argument named 'amount'
Matches are:
- Reference.new()
All three operations have an initializer with and amount argument.