Re: Fwd: About supporting `var` of Java10+

2018-03-10 Thread MG
Hi Jochen, I was not aware that Groovy is so sophisticated in its expression analysis, that it actually uses intersection types - I had assumed it would fall back to Object in these cases :-) Much of what Groovy does here is of course obscured by Intellisense warnings ;-) (btw @daniil.ovchinni

Fund Groovy Development - Jira Task

2018-03-10 Thread MG
Hi Groovy enthusiasts !-) after having thought about the topic of "putting some money where your mouth is and help fund Groovy development" some more, and taking into consideration what people have suggested, I have created a (somewhat experimental) Jira task* where people can pledge bounties

Re: Synthetic GroovyObject methods

2018-03-10 Thread Daniil Ovchinnikov
https://issues.apache.org/jira/browse/GROOVY-7362 https://issues.apache.org/jira/browse/GROOVY-8496 https://issues.apache.org/jira/browse/GROOVY-8497

Re: Synthetic GroovyObject methods

2018-03-10 Thread Jochen Theodorou
On 10.03.2018 10:36, Daniil Ovchinnikov wrote: Thank you for looking into this. In an IDE, if you have x. you would then be presented with getProperty, setProperty and get/setMetaClass. Do we actually want that? These methods are public and non-synthetic in GroovyObject interface so they will

Re: Fwd: About supporting `var` of Java10+

2018-03-10 Thread Jochen Theodorou
On 10.03.2018 03:51, Paul King wrote: Hi, sorry I meant to respond to the list too. Messages included below. -- Forwarded message -- From: *MG* mailto:mg...@arscreat.com>> Date: Sat, Mar 10, 2018 at 7:19 AM Subject: Re: About supporting `var` of Java10+ To: pa...@asert.com.au

Re: Groovy 2.4.14 on JDK8 and JDK9

2018-03-10 Thread Russel Winder
On Fri, 2018-03-09 at 17:15 +1000, Paul King wrote: > Sorry for being a bit late in replying. I tried Mr Haki's examples > here and > had no problems (I was using Oracle JDKs 9.0.4 and 1.8.0_161 and a > recent > OpenJDK 10): > http://mrhaki.blogspot.com.au/2009/12/groovy-goodness-getting-groovy- >

Re: Synthetic GroovyObject methods

2018-03-10 Thread Daniil Ovchinnikov
Thank you for looking into this. > In an IDE, if you have x. you would then be > presented with getProperty, setProperty and get/setMetaClass. Do we actually > want that? These methods are public and non-synthetic in GroovyObject interface so they will be suggested independently of their imple