Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
RubyStruct.java gives ArgumentError: unknown keywords: keyword #5448
(../rails52 is checked out at v5.2.1)
This passes on 22.214.171.124/126.96.36.199
I haven't looked any closer since it's the middle of the night again. Thought I report it since I don't know when I get the chance to look closer...might be a few days...
Ok, I have a simple reproduction:
This only affects the splatted path, which has to make a determination about the list of incoming arguments as to whether the keywords are being used to initialize the struct fields, or whether any incoming Hash is just intended to initialize one field.
@enebo I don't really know, but it's an interesting question..so I had a quick look. We have
So there are a few uses, but I don't think they're really hot..