groovy-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Sun <realblue...@hotmail.com>
Subject Re: The priority of .. and . (GROOVY-3240)
Date Thu, 19 Jan 2017 13:15:05 GMT
OK. I will close the issue later.

Cheers,
Daniel.Sun



在 "Guillaume Laforge [via Groovy]" <ml-node+s329449n5737834h12@n5.nabble.com>,2017年1月19日
20:36写道:

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 <[hidden email]> 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>


________________________________
If you reply to this email, your message will be added to the discussion below:
http://groovy.329449.n5.nabble.com/The-priority-of-and-GROOVY-3240-tp5737831p5737834.html
To unsubscribe from The priority of .. and . (GROOVY-3240), click here<http://groovy.329449.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5737831&code=cmVhbGJsdWVzdW5AaG90bWFpbC5jb218NTczNzgzMXwxMTQ2MjE4MjI1>.
NAML<http://groovy.329449.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>




--
View this message in context: http://groovy.329449.n5.nabble.com/The-priority-of-and-GROOVY-3240-tp5737831p5737840.html
Sent from the Groovy Dev mailing list archive at Nabble.com.
Mime
View raw message