first() and last() methods do not accept non-null default
Bug #1543873 reported by
Stan Lagun
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
YAQL |
Fix Released
|
Undecided
|
Stan Lagun |
Bug Description
[].first(null) returns null because single optional method parameter means default value
however [].first(123) will result in exception
The same goes for last() method
To post a comment you must log in.
Fix proposed to branch: stable/liberty /review. openstack. org/278175
Review: https:/