General

Profile

johannes_luedke (Johannes Lüdke)

  • Login: johannes_luedke
  • Registered on: 05/12/2016
  • Last sign in: 04/16/2019

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 1 1

Activity

07/13/2018

03:18 PM Ruby Bug #14909: Method call with object that has to_hash method crashes (method with splat and keyword arguments)
https://bugs.ruby-lang.org/issues/14909#note-2 doesn't resolve the issue for me
> Why your object has to_hash method?
the objects in question are instances of `Dry::Validation::Result` (dry-validation gem)
> ...
Could this mayb...
johannes_luedke (Johannes Lüdke)

07/12/2018

07:37 AM Ruby Bug #14909 (Closed): Method call with object that has to_hash method crashes (method with splat and keyword arguments)
In a method with a splat method argument followed by a keyword argument, it leads to an `ArgumentError` when calling the method with an object that reacts to `to_hash`
~~~ruby
def my_func(*objects, error_code: 400)
objects.inspe...
johannes_luedke (Johannes Lüdke)

Also available in: Atom