Passing in an unused value that is an empty array causes an entertaining failure.
Expander.expand() replaces the corresponding key with an empty array:
|
values = values.each_with_object({}){ |(key, value), new_hash| |
Then the mapping throws an error, which is "handled" by Expander.error_for() which attempts to sort the keys, naturally causing "ArgumentError - comparison of Symbol with Array"
Passing in an unused value that is an empty array causes an entertaining failure.
Expander.expand()replaces the corresponding key with an empty array:mustermann/mustermann/lib/mustermann/ast/expander.rb
Line 95 in 3409395
Then the mapping throws an error, which is "handled" by
Expander.error_for()which attempts to sort the keys, naturally causing "ArgumentError - comparison of Symbol with Array"