Daniel, Just to clarify, your vote for -1 is for `Date?[time:0]`. Right?
On Tue, Sep 4, 2018 at 2:49 PM Daniel Sun <[email protected]> wrote: > Hi Paul, > > Safe index is only for accessing the elements of collections and > object > properties, but not for creating instance. The collections and objects may > be null, so we designed the "safe" index. > > To sum up, I vote -1 to support syntax like `Date[time:0]`, the class > instance will not be null. > > Cheers, > Daniel.Sun > > > > -- > Sent from: http://groovy.329449.n5.nabble.com/Groovy-Dev-f372993.html >
