tapioca icon indicating copy to clipboard operation
tapioca copied to clipboard

Fix AASM compiler's global callback method signatures

Open tubaxenor opened this issue 1 year ago • 0 comments

Motivation

AASM global callbacks takes splat argument as first argument instead of a nilable symbol: https://github.com/aasm/aasm/blob/0e03746a2b86558ee1bf7bd7db873938cbb3b29b/lib/aasm/base.rb#L145-L171

Implementation

Change AASM compiler to use correct params definition.

Tests

Added accordingly.

tubaxenor avatar Jul 04 '24 03:07 tubaxenor