groovy-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel.Sun" <realblue...@hotmail.com>
Subject Re: Custom operator for Groovy 3
Date Sun, 30 Oct 2016 09:28:12 GMT
Hi C├ędric

> We always said we wouldn't fall into the same trap as C++ or Scala, but
> instead allow overriding existing operators.
Could you please expain the trap in details?  Thanks in advance :)

BTW,  I adjusted the priority of custom operators to avoid parentheses in
most cases.
https://github.com/danielsun1106/groovy-parser/blob/customOperator/src/test/resources/core/CustomOperator_01x.groovy

Cheers,
Daniel.Sun



--
View this message in context: http://groovy.329449.n5.nabble.com/Custom-operator-for-Groovy-3-tp5736388p5736393.html
Sent from the Groovy Dev mailing list archive at Nabble.com.

Mime
View raw message