[jira] [Commented] (GROOVY-8346) The variable [XXX] may be uninitialized

2020-03-03 Thread Paul King (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-8346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17050737#comment-17050737 ] Paul King commented on GROOVY-8346: --- Maybe this: {code} final foo = 'foo' final bar if

[jira] [Comment Edited] (GROOVY-8346) The variable [XXX] may be uninitialized

2020-03-03 Thread Paul King (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-8346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17050722#comment-17050722 ] Paul King edited comment on GROOVY-8346 at 3/4/20 2:59 AM: --- We

[jira] [Commented] (GROOVY-8346) The variable [XXX] may be uninitialized

2020-03-03 Thread Paul King (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-8346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17050722#comment-17050722 ] Paul King commented on GROOVY-8346: --- We really need to change the spock generated code

[jira] [Commented] (GROOVY-8346) The variable [XXX] may be uninitialized

2020-03-03 Thread Brian Ray (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-8346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17050670#comment-17050670 ] Brian Ray commented on GROOVY-8346: --- Thank you, that makes things much more clear. It

[jira] [Commented] (GROOVY-9433) grammar ambiguity with ternary expression being confused with safe indexing

2020-03-03 Thread Daniel Sun (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-9433?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17050669#comment-17050669 ] Daniel Sun commented on GROOVY-9433: Here is the workaround. Remember we can always

[jira] [Commented] (GROOVY-9433) grammar ambiguity with ternary expression being confused with safe indexing

2020-03-03 Thread Daniel Sun (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-9433?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17050668#comment-17050668 ] Daniel Sun commented on GROOVY-9433: The ideal solution is to make {{?[}} become a

[jira] [Comment Edited] (GROOVY-8346) The variable [XXX] may be uninitialized

2020-03-03 Thread Paul King (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-8346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17050623#comment-17050623 ] Paul King edited comment on GROOVY-8346 at 3/3/20 11:06 PM:

[jira] [Commented] (GROOVY-8346) The variable [XXX] may be uninitialized

2020-03-03 Thread Paul King (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-8346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17050623#comment-17050623 ] Paul King commented on GROOVY-8346: --- 2.5.10 and 3.0.2 will have improved handling for

[jira] [Commented] (GROOVY-8346) The variable [XXX] may be uninitialized

2020-03-03 Thread Brian Ray (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-8346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17050561#comment-17050561 ] Brian Ray commented on GROOVY-8346: --- [~paulk] would you suggest a distinct issue for t

[jira] [Commented] (GROOVY-9436) groovyConsole line numbers don't always line up with content

2020-03-03 Thread Jira
[ https://issues.apache.org/jira/browse/GROOVY-9436?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17050465#comment-17050465 ] Mikko Värri commented on GROOVY-9436: - Created a minimal version of groovyConsole (a

[jira] [Updated] (GROOVY-9436) groovyConsole line numbers don't always line up with content

2020-03-03 Thread Jira
[ https://issues.apache.org/jira/browse/GROOVY-9436?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mikko Värri updated GROOVY-9436: Attachment: miniGroovyConsole.groovy > groovyConsole line numbers don't always line up with conten

[jira] [Commented] (GROOVY-9436) groovyConsole line numbers don't always line up with content

2020-03-03 Thread Jira
[ https://issues.apache.org/jira/browse/GROOVY-9436?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17050453#comment-17050453 ] Mikko Värri commented on GROOVY-9436: - I was able to repro this all the way back to

[jira] [Commented] (GROOVY-9436) groovyConsole line numbers don't always line up with content

2020-03-03 Thread Jira
[ https://issues.apache.org/jira/browse/GROOVY-9436?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17050448#comment-17050448 ] Mikko Värri commented on GROOVY-9436: - Why this matters: shift-alt-9 is } for me, wh

[jira] [Commented] (GROOVY-9436) groovyConsole line numbers don't always line up with content

2020-03-03 Thread Jira
[ https://issues.apache.org/jira/browse/GROOVY-9436?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17050442#comment-17050442 ] Mikko Värri commented on GROOVY-9436: - Additionally, on Java 11, 12, and 13, newline

[jira] [Updated] (GROOVY-9436) groovyConsole line numbers don't always line up with content

2020-03-03 Thread Jira
[ https://issues.apache.org/jira/browse/GROOVY-9436?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mikko Värri updated GROOVY-9436: Attachment: macosx-groovy3-java11plus.png > groovyConsole line numbers don't always line up with c

[jira] [Created] (GROOVY-9436) groovyConsole line numbers don't always line up with content

2020-03-03 Thread Jira
Mikko Värri created GROOVY-9436: --- Summary: groovyConsole line numbers don't always line up with content Key: GROOVY-9436 URL: https://issues.apache.org/jira/browse/GROOVY-9436 Project: Groovy

[jira] [Commented] (GROOVY-9413) Groovy 3.0 seem to have a problem with , can't handle it in Java interface method when called from Groovy.

2020-03-03 Thread Tommy Svensson (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-9413?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17050247#comment-17050247 ] Tommy Svensson commented on GROOVY-9413: "One note, you do not need to add @Comp