Currently .. and ..< have lower priority than . Not sure we should revisit that, it would be a useless breaking change.
Integer.metaClass.foo = { delegate + 1 } assert 3.foo()..4.foo() == 4..5 On Thu, Jan 19, 2017 at 1:25 PM, Daniel Sun <realblue...@hotmail.com> wrote: > Hi all, > > I'm taking a look at GROOVY-3240 > <https://issues.apache.org/jira/browse/GROOVY-3240> , which was raised by > me some years ago. I wonder whether .. has higher priority than DOT(.) or > not. > > Cheers, > Daniel.Sun > > > > -- > View this message in context: http://groovy.329449.n5. > nabble.com/The-priority-of-and-GROOVY-3240-tp5737831.html > Sent from the Groovy Dev mailing list archive at Nabble.com. > -- Guillaume Laforge Apache Groovy committer & PMC Vice-President Developer Advocate @ Google Cloud Platform Blog: http://glaforge.appspot.com/ Social: @glaforge <http://twitter.com/glaforge> / Google+ <https://plus.google.com/u/0/114130972232398734985/posts>