Bug #13336
closed
- Description updated (diff)
- Assignee set to mame (Yusuke Endoh)
mame-san: what do you think about it?
- Description updated (diff)
- Assignee deleted (
mame (Yusuke Endoh))
This is intended. If a method accepts keyword arguments and if its last argument is a hash object, it is considered for keyword arguments. If you want to pass a hash as the first parameter, you need to explicitly pass a hash for keyword arguments, i.e., funny({k: 1}, {})
.
- Status changed from Open to Closed
This is a duplicate of #12717, so closing this.
- Is duplicate of Bug #12717: Optional argument treated as kwarg added
Also available in: Atom
PDF
Like0
Like0Like0Like0Like0Like0Like0Like0