avram icon indicating copy to clipboard operation
avram copied to clipboard

Avam::Operation.run can call itself recursively if passed a wrong argument type.

Open BrucePerens opened this issue 4 years ago • 0 comments

https://github.com/luckyframework/avram/blob/9a5a921bb05cc3031d9436d2fdc6927606314876/src/avram/operation.cr#L29

If the user passes params to run, and params is not Avram::Paramable because of a user error, this ends up recursively calling itself until the compiler emits a non-helpful error message.

BrucePerens avatar Nov 12 '21 02:11 BrucePerens