For example, this error message means that there was an attempt at multiplying a number with a ControlMidiToFreq:
2019-11-23 18:58:24 [Error] Runtime error
maybe...Argument mismatch:number,Tonic::ControlMidiToFreq candidate is:
Tonic::ControlMidiToFreq,float,
Tonic::ControlMidiToFreq,Tonic::ControlGenerator,
stack traceback:
[C]: in metamethod '__mul'
/home/elchaschab/.patchscript/data//midipatch.pat:28: in main chunk
We'd prefer to have a simpler error message like this:
2019-11-23 18:58:24 [Error] Runtime error
Attempt to illegally multiply "number" with "Tonic::ControlMidiToFreq".
Candidates:
Tonic::ControlMidiToFreq,float,
Tonic::ControlMidiToFreq,Tonic::ControlGenerator
stack traceback:
[C]: in metamethod '__mul'
/home/elchaschab/.patchscript/data//midipatch.pat:28: in main chunk
For example, this error message means that there was an attempt at multiplying a number with a ControlMidiToFreq:
We'd prefer to have a simpler error message like this: