Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support the optional path operator (?.), which is the replacement
of the optional path operator (->) used in Classic Groovy. For an example, class Person { String name int age } Person x = new Person(name:"Foo", age:25) assert x.name == "Foo" assert x?.name == "Foo" x = null assert x?.name == null // assert x->name == null for the case of Classic Groovy git-svn-id: http://svn.codehaus.org/groovy/trunk/groovy/groovy-core@1974 a5544e8c-8a19-0410-ba12-f9af4593a198
- Loading branch information