Commit 7cccb7e
committed
Ignore empty kwrest in Data subtypes' constructors
When passing empty kwrest into a method, `hasKeyword` will be true
but there will not actually be any keyword hash in the argument
list. We need to also check for "empty" keywords before proceeding
to use any incoming kwargs hash.
Fixes jruby#92141 parent f21870a commit 7cccb7e
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
| |||
309 | 310 | | |
310 | 311 | | |
311 | 312 | | |
312 | | - | |
| 313 | + | |
313 | 314 | | |
314 | 315 | | |
315 | 316 | | |
| |||
0 commit comments