[jira] [Commented] (GROOVY-8703) NamedVariant on constructor

2018-08-20 Thread Paul King (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-8703?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16586112#comment-16586112 ] Paul King commented on GROOVY-8703: --- Yes, the latter. Leaving off, by request was made equivalent to:

[jira] [Created] (GROOVY-8757) Incorrect bytecode produced after compiling class implementing trait with generic method

2018-08-20 Thread Daniil Ovchinnikov (JIRA)
Daniil Ovchinnikov created GROOVY-8757: -- Summary: Incorrect bytecode produced after compiling class implementing trait with generic method Key: GROOVY-8757 URL:

[jira] [Comment Edited] (GROOVY-8753) Compiler error in STC: exception in phase 'instruction selection'

2018-08-20 Thread Patric Bechtel (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-8753?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16586631#comment-16586631 ] Patric Bechtel edited comment on GROOVY-8753 at 8/20/18 11:00 PM: -- Just

[jira] [Comment Edited] (GROOVY-8753) Compiler error in STC: exception in phase 'instruction selection'

2018-08-20 Thread Patric Bechtel (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-8753?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16586631#comment-16586631 ] Patric Bechtel edited comment on GROOVY-8753 at 8/20/18 11:01 PM: -- Just

[jira] [Comment Edited] (GROOVY-8753) Compiler error in STC: exception in phase 'instruction selection'

2018-08-20 Thread Paul King (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-8753?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16586662#comment-16586662 ] Paul King edited comment on GROOVY-8753 at 8/20/18 11:49 PM: - That

[jira] [Commented] (GROOVY-8753) Compiler error in STC: exception in phase 'instruction selection'

2018-08-20 Thread Patric Bechtel (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-8753?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16586679#comment-16586679 ] Patric Bechtel commented on GROOVY-8753: Strike :) That did the trick. Checking the docs, this

[jira] [Updated] (GROOVY-8757) Incorrect bytecode produced after compiling class implementing trait with generic method

2018-08-20 Thread Paul King (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-8757?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Paul King updated GROOVY-8757: -- Affects Version/s: 2.5.2 > Incorrect bytecode produced after compiling class implementing trait with

[jira] [Resolved] (GROOVY-8753) Compiler error in STC: exception in phase 'instruction selection'

2018-08-20 Thread Paul King (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-8753?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Paul King resolved GROOVY-8753. --- Resolution: Fixed It's quite possible we still need to tweak our build to more accurately reflect

[jira] [Commented] (GROOVY-8740) groovy.util.CliBuilder doesn't handle parse errors correctly

2018-08-20 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-8740?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16586711#comment-16586711 ] Remko Popma commented on GROOVY-8740: - FYI I fixed the picocli CliBuilder so it behaves the same as

[jira] [Commented] (GROOVY-8753) Compiler error in STC: exception in phase 'instruction selection'

2018-08-20 Thread Patric Bechtel (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-8753?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16586631#comment-16586631 ] Patric Bechtel commented on GROOVY-8753: Just tried: {noformat} git pull; ./gradlew clean;

[jira] [Resolved] (GROOVY-8759) groovy.cli.picocli.CliBuilder should behave like cli.commons.CliBuilder on invalid options

2018-08-20 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-8759?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Remko Popma resolved GROOVY-8759. - Resolution: Fixed Fixed by setting the picocli both ParserSpec's {{stopAtPositional}} and

[jira] [Commented] (GROOVY-8757) Incorrect bytecode produced after compiling class implementing trait with generic method

2018-08-20 Thread Paul King (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-8757?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16586683#comment-16586683 ] Paul King commented on GROOVY-8757: --- Trait helper class itself looks okay: {code} $ javap

[jira] [Created] (GROOVY-8758) @WithReadLock in inner class of @CompileStatic class causes java.lang.VerifyError

2018-08-20 Thread Curtis Mackie (JIRA)
Curtis Mackie created GROOVY-8758: - Summary: @WithReadLock in inner class of @CompileStatic class causes java.lang.VerifyError Key: GROOVY-8758 URL: https://issues.apache.org/jira/browse/GROOVY-8758

[jira] [Comment Edited] (GROOVY-8757) Incorrect bytecode produced after compiling class implementing trait with generic method

2018-08-20 Thread Paul King (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-8757?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16586683#comment-16586683 ] Paul King edited comment on GROOVY-8757 at 8/21/18 12:02 AM: - Trait helper

[jira] [Created] (GROOVY-8759) groovy.cli.picocli.CliBuilder should behave like cli.commons.CliBuilder on invalid options

2018-08-20 Thread Remko Popma (JIRA)
Remko Popma created GROOVY-8759: --- Summary: groovy.cli.picocli.CliBuilder should behave like cli.commons.CliBuilder on invalid options Key: GROOVY-8759 URL: https://issues.apache.org/jira/browse/GROOVY-8759

[jira] [Commented] (GROOVY-8703) NamedVariant on constructor

2018-08-20 Thread Paul King (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-8703?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16586715#comment-16586715 ] Paul King commented on GROOVY-8703: --- I might send an email to the dev list about this. > NamedVariant

[jira] [Commented] (GROOVY-8753) Compiler error in STC: exception in phase 'instruction selection'

2018-08-20 Thread Paul King (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-8753?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16586662#comment-16586662 ] Paul King commented on GROOVY-8753: --- All I can think of is adding {{--no-build-cache}} when building

[jira] [Updated] (GROOVY-8758) @WithReadLock in inner class of @CompileStatic class causes java.lang.VerifyError

2018-08-20 Thread Curtis Mackie (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-8758?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Curtis Mackie updated GROOVY-8758: -- Description: Minimal reproduction: {code:java} import groovy.transform.CompileStatic import

[GitHub] groovy pull request #787: GROOVY-8758: @WithReadLock in inner class of @Comp...

2018-08-20 Thread paulk-asert
GitHub user paulk-asert opened a pull request: https://github.com/apache/groovy/pull/787 GROOVY-8758: @WithReadLock in inner class of @CompileStatic class cau… …ses java.lang.VerifyError You can merge this pull request into a Git repository by running: $ git pull

[jira] [Commented] (GROOVY-8758) @WithReadLock in inner class of @CompileStatic class causes java.lang.VerifyError

2018-08-20 Thread ASF GitHub Bot (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-8758?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16586948#comment-16586948 ] ASF GitHub Bot commented on GROOVY-8758: GitHub user paulk-asert opened a pull request:

[jira] [Commented] (GROOVY-8755) Forbidden using command chain expression in array initializer to avoid ambiguities

2018-08-20 Thread Paul King (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-8755?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16585484#comment-16585484 ] Paul King commented on GROOVY-8755: --- We should capture this in the doco somewhere too. > Forbidden

[jira] [Resolved] (GROOVY-8479) sum from DefaultGroovyMethods does not have type information

2018-08-20 Thread Paul King (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-8479?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Paul King resolved GROOVY-8479. --- Resolution: Won't Fix Assignee: Paul King Nothing more to do, so closing this. > sum from

[jira] [Comment Edited] (GROOVY-8753) Compiler error in STC: exception in phase 'instruction selection'

2018-08-20 Thread Paul King (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-8753?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16585663#comment-16585663 ] Paul King edited comment on GROOVY-8753 at 8/20/18 9:01 AM: Can you try the

[jira] [Commented] (GROOVY-8753) Compiler error in STC: exception in phase 'instruction selection'

2018-08-20 Thread Paul King (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-8753?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16585663#comment-16585663 ] Paul King commented on GROOVY-8753: --- Can you try the test in the pull request. > Compiler error in

[jira] [Comment Edited] (GROOVY-8753) Compiler error in STC: exception in phase 'instruction selection'

2018-08-20 Thread Patric Bechtel (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-8753?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16585586#comment-16585586 ] Patric Bechtel edited comment on GROOVY-8753 at 8/20/18 8:04 AM: - I

[jira] [Commented] (GROOVY-8753) Compiler error in STC: exception in phase 'instruction selection'

2018-08-20 Thread Patric Bechtel (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-8753?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16585586#comment-16585586 ] Patric Bechtel commented on GROOVY-8753: I should add something. While trying to reproduce the

[jira] [Reopened] (GROOVY-8753) Compiler error in STC: exception in phase 'instruction selection'

2018-08-20 Thread Patric Bechtel (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-8753?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patric Bechtel reopened GROOVY-8753: I just verified with a build from bf37aa58f97b51081fba355c5ef4356d569af68a; Still doesn't

[jira] [Commented] (GROOVY-8753) Compiler error in STC: exception in phase 'instruction selection'

2018-08-20 Thread Patric Bechtel (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-8753?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16585743#comment-16585743 ] Patric Bechtel commented on GROOVY-8753: Ack - the test in the pull request works. The test on

[jira] [Commented] (GROOVY-8753) Compiler error in STC: exception in phase 'instruction selection'

2018-08-20 Thread Paul King (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-8753?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16585883#comment-16585883 ] Paul King commented on GROOVY-8753: --- >From the GROOVY_2_5_X branch when I first use the

[jira] [Commented] (GROOVY-8703) NamedVariant on constructor

2018-08-20 Thread Eric Milles (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-8703?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16585988#comment-16585988 ] Eric Milles commented on GROOVY-8703: - The named variant constructor is being created as I would