Re: Groovy 2.5.4 generates dead code

2018-12-23 Thread Marc Hoffmann
Hi all, we could add a general "unreachable code filter”. At least simple CFG based unreachability should be doable. But as always I prefer to fix the root cause ;) Cheers, -marc > On 23. Dec 2018, at 01:24, Evgeny Mandrikov wrote: > > Hi guys, > > First of all please excuse me for the dela

Re: Aw: Groovy 2.5.4 generates dead code

2018-12-23 Thread Daniel.Sun
It's better to avoid generating dead code. We have to look into the issue IMO. Cheers, Daniel.Sun - Daniel Sun Apache Groovy committer Blog: http://blog.sunlan.me Twitter: @daniel_sun -- Sent from: http://groovy.329449.n5.nabble.com/Groovy-Dev-f372993.html

Re: Aw: Groovy 2.5.4 generates dead code

2018-12-22 Thread Evgeny Mandrikov
Hi guys, First of all please excuse me for the delay with reply. On Wed, Nov 21, 2018 at 5:27 PM Remi Forax wrote: > So you have several ways to fix the issue, > - ask Evgeny (in CC) that jacoco should recognize the nop ... athrow > sequence and do not report it. > Generally speaking unfortuna

Re: Aw: Groovy 2.5.4 generates dead code

2018-11-21 Thread Jochen Theodorou
-- *De: *"Jochen Theodorou" *À: *"dev" *Envoyé: *Mercredi 21 Novembre 2018 15:02:49 *Objet: *Aw: Groovy 2.5.4 generates dead code Hi Andres, there was at some point in the past (I think it was related to Java8) a problem with us doing entries into

Re: Aw: Groovy 2.5.4 generates dead code

2018-11-21 Thread Remi Forax
> De: "Jochen Theodorou" > À: "dev" > Envoyé: Mercredi 21 Novembre 2018 15:02:49 > Objet: Aw: Groovy 2.5.4 generates dead code > Hi Andres, > there was at some point in the past (I think it was related to Java8) a > problem > with us doing entries into the

Aw: Groovy 2.5.4 generates dead code

2018-11-21 Thread Jochen Theodorou
longer exists.   bye Jochen   Gesendet: Mittwoch, 21. November 2018 um 11:19 Uhr Von: "Andres Almiray" An: dev@groovy.apache.org Betreff: Groovy 2.5.4 generates dead code Hello everyone,   Evgeny Mandrikov (from JaCoCo) sent me a message regarding dead code produced by Groovy

Groovy 2.5.4 generates dead code

2018-11-21 Thread Andres Almiray
Hello everyone, Evgeny Mandrikov (from JaCoCo) sent me a message regarding dead code produced by Groovy 2.5.4 (see https://github.com/jacoco/jacoco/pull/733#issuecomment-440030323 in context). Reproducing full message: @aalmiray while playing further with Groovy, I