Re: Getting return type of generated Closure at runtime

2021-01-20 Thread Jan Lukavský
cceed in getting the return type from there either. Many thanks,  Jan On 1/19/21 7:29 PM, Jochen Theodorou wrote: On 19.01.21 09:28, Jan Lukavský wrote: Hi OC, I'm pretty sure Closure has a return type, that is what the type parametr V in Closure stands for. When source is compiled usin

Re: Getting return type of generated Closure at runtime

2021-01-19 Thread Jan Lukavský
turns a non-object, say, int? I think not. All the best, OC On 18. 1. 2021, at 9:55 AM, Jan Lukavský <mailto:je...@seznam.cz>> wrote: Hi, resending this to dev@ (originally users@). Would anyone know if what I'm trying to achieve is possible? I think the compiler has enough inf

Re: Getting return type of generated Closure at runtime

2021-01-18 Thread Jan Lukavský
r any comments,  Jan On 1/12/21 10:36 AM, Jan Lukavský wrote: Hi, I'm struggling with something I believe should be possible - when a Closure is parsed at runtime, it should be possible to retrieve its generic return type. I have the following (in Java):   @Test   p

Re: Apache Groovy 3.0.0-beta-3 and 2.5.8 are coming

2019-07-31 Thread Jan Lukavský
Hello Daniel, would it be possible to include these two small PRs? https://github.com/apache/groovy/pull/923 https://github.com/apache/groovy/pull/924 Many thanks!  Jan On 7/29/19 12:37 PM, Daniel.Sun wrote: As more important fixes are targeted to the two releases, the dual releases will be

Re: [VOTE] Release Apache Groovy 2.4.17

2019-05-07 Thread Jan Lukavský
s 923 & 924 but we'll take a look and merge when we get the chance if they make sense. New releases shouldn't be too far away and sometimes voting highlights more major things that require re-rolling the releases and re-starting the voting. Cheers, Paul. On Tue, May 7, 2019 at 6

Re: [VOTE] Release Apache Groovy 2.4.17

2019-05-07 Thread Jan Lukavský
om/in/aalmiray -- What goes up, must come down. Ask any system administrator. There are 10 types of people in the world: Those who understand binary, and those who don't. To understand recursion, we must first understand recursion. On Mon, May 6, 2019 at 8:44 PM Jan Lukavský <mailto:je...@sezn

Re: [VOTE] Release Apache Groovy 2.4.17

2019-05-06 Thread Jan Lukavský
Hi, I know that it might be already a little late, but (if I didn't miss anything) nobody commented on PR [1]. Any chance it could make it into the planned release? Thanks for comments, Jan [1] https://github.com/apache/groovy/pull/884 On 5/6/19 6:30 PM, Paul King wrote: We should see if w

Possibility to exchange Interpreter implementation for Groovysh

2019-02-26 Thread Jan Lukavský
Hi Groovy devs, for one of my projects, I need a possibility to exchange Interpreter implementation in Groovysh. I created PR that adds this functionality and tested it locally: https://github.com/apache/groovy/pull/884 Could someone have a look at it, please? Or would you see a better way o