[GitHub] [groovy] paulk-asert commented on pull request #1730: Show path to current level in object browser header. Show 'class name … instance' when starting path is not specified.

2022-06-21 Thread GitBox
paulk-asert commented on PR #1730: URL: https://github.com/apache/groovy/pull/1730#issuecomment-1161563104 I quite like the idea. I also played around with putting the path in the frame title instead of the label: ``` frame = swing.frame(title: "Groovy Object Browser: $path", location:

[GitHub] [groovy] sandipchitale commented on pull request #1730: Show path to current level in object browser header. Show 'class name … instance' when starting path is not specified.

2022-06-21 Thread GitBox
sandipchitale commented on PR #1730: URL: https://github.com/apache/groovy/pull/1730#issuecomment-1161813439 I think there is more room in the label. But it will eventually get truncated. I could make it wrap, actually not sure why it does not wrap as it is Html. A tool tip (html title) wil

[GitHub] [groovy] sandipchitale commented on pull request #1730: Show path to current level in object browser header. Show 'class name … instance' when starting path is not specified.

2022-06-21 Thread GitBox
sandipchitale commented on PR #1730: URL: https://github.com/apache/groovy/pull/1730#issuecomment-1161935157 Something like this: ![image](https://user-images.githubusercontent.com/3310939/174841212-e5821bf2-92a6-42ea-82dc-cecd0ffe05ca.png) The user can select the path from the

[GitHub] [groovy] justinchuch opened a new pull request, #1731: Fixed issue in PackageHelperImpl#getPackageNames

2022-06-21 Thread GitBox
justinchuch opened a new pull request, #1731: URL: https://github.com/apache/groovy/pull/1731 ## Issue: PackageHelperImpl#getPackageNames would not be able to find and return the package names if the package path or filename of the jar contains plus signs due to the behavior of U

[GitHub] [groovy] sandipchitale commented on pull request #1730: Show path to current level in object browser header. Show 'class name … instance' when starting path is not specified.

2022-06-21 Thread GitBox
sandipchitale commented on PR #1730: URL: https://github.com/apache/groovy/pull/1730#issuecomment-1162440613 I went ahead and submitted the two commits. I used Alt-Double-Click instead o Ctrl-Double-Click because the Ctrl key is also used for extending the selection. Please pick and choose

[GitHub] [groovy] sonatype-lift[bot] commented on a diff in pull request #1730: Show path to current level in object browser header. Show 'class name … instance' when starting path is not specified.

2022-06-21 Thread GitBox
sonatype-lift[bot] commented on code in PR #1730: URL: https://github.com/apache/groovy/pull/1730#discussion_r903156123 ## subprojects/groovy-console/src/main/groovy/groovy/console/ui/ObjectBrowser.groovy: ## @@ -239,6 +258,13 @@ class ObjectBrowser { } } +vo

[GitHub] [groovy] paulk-asert merged pull request #1731: GROOVY-10663: Fixed issue in PackageHelperImpl#getPackageNames

2022-06-22 Thread GitBox
paulk-asert merged PR #1731: URL: https://github.com/apache/groovy/pull/1731 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@g

[GitHub] [groovy] paulk-asert commented on pull request #1731: GROOVY-10663: Fixed issue in PackageHelperImpl#getPackageNames

2022-06-22 Thread GitBox
paulk-asert commented on PR #1731: URL: https://github.com/apache/groovy/pull/1731#issuecomment-1162885399 Looks good - merged! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific commen

[GitHub] [groovy] paulk-asert commented on pull request #1727: StackTraceUtils: Add 'jdk.internal' to the list of ignored packages

2022-06-22 Thread GitBox
paulk-asert commented on PR #1727: URL: https://github.com/apache/groovy/pull/1727#issuecomment-1163796664 LGTM. As you will have seen in the code (but for the benefit of others searching here later) you can provide a `groovy.sanitized.stacktraces` system property in the meantime (or for an

[GitHub] [groovy] paulk-asert commented on pull request #1727: StackTraceUtils: Add 'jdk.internal' to the list of ignored packages

2022-06-22 Thread GitBox
paulk-asert commented on PR #1727: URL: https://github.com/apache/groovy/pull/1727#issuecomment-1163799633 Actually, I have just recalled a related much earlier request: #256 (GROOVY-7756) which wants to tighten the exclusion list. I'll write an email and see if anyone else has feedback bef

[GitHub] [groovy] paulk-asert closed pull request #1730: Show path to current level in object browser header. Show 'class name … instance' when starting path is not specified.

2022-06-23 Thread GitBox
paulk-asert closed pull request #1730: Show path to current level in object browser header. Show 'class name … instance' when starting path is not specified. URL: https://github.com/apache/groovy/pull/1730 -- This is an automated message from the Apache Git Service. To respond to the message

[GitHub] [groovy] paulk-asert commented on pull request #1730: Show path to current level in object browser header. Show 'class name … instance' when starting path is not specified.

2022-06-23 Thread GitBox
paulk-asert commented on PR #1730: URL: https://github.com/apache/groovy/pull/1730#issuecomment-1164471716 Merged. Thanks again! Just on master for now. I did a little more refactoring to try to reduce duplication and improve the API. It seems to work for me but if you wanted to try it o

[GitHub] [groovy] sandipchitale commented on pull request #1730: Show path to current level in object browser header. Show 'class name … instance' when starting path is not specified.

2022-06-23 Thread GitBox
sandipchitale commented on PR #1730: URL: https://github.com/apache/groovy/pull/1730#issuecomment-1164740913 @paulk-asert Thanks for merging and making corrections to my possible silly mistakes. -- This is an automated message from the Apache Git Service. To respond to the message, please

[GitHub] [groovy] sandipchitale commented on pull request #1730: Show path to current level in object browser header. Show 'class name … instance' when starting path is not specified.

2022-06-23 Thread GitBox
sandipchitale commented on PR #1730: URL: https://github.com/apache/groovy/pull/1730#issuecomment-1164966996 Works for me on master. Works great. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to t

[GitHub] [groovy] paulk-asert commented on pull request #1730: Show path to current level in object browser header. Show 'class name … instance' when starting path is not specified.

2022-06-24 Thread GitBox
paulk-asert commented on PR #1730: URL: https://github.com/apache/groovy/pull/1730#issuecomment-1165294691 @sandipchitale No silly mistakes, I was just finessing slightly with an eye on maintenance and consistency. -- This is an automated message from the Apache Git Service. To respond to

[GitHub] [groovy] paulk-asert commented on pull request #1727: StackTraceUtils: Add 'jdk.internal' to the list of ignored packages

2022-06-24 Thread GitBox
paulk-asert commented on PR #1727: URL: https://github.com/apache/groovy/pull/1727#issuecomment-1165295996 Merged, thanks! I created this issue to track the details: GROOVY-10665. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHu

[GitHub] [groovy] paulk-asert closed pull request #1727: StackTraceUtils: Add 'jdk.internal' to the list of ignored packages

2022-06-24 Thread GitBox
paulk-asert closed pull request #1727: StackTraceUtils: Add 'jdk.internal' to the list of ignored packages URL: https://github.com/apache/groovy/pull/1727 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to g

[GitHub] [groovy] eric-milles opened a new pull request, #1732: GROOVY-10223: support assignment/cast of `Optional` to array/collection

2022-06-24 Thread GitBox
eric-milles opened a new pull request, #1732: URL: https://github.com/apache/groovy/pull/1732 Adds support for assignment of optional to arrays or collections -- and by extension an "iterator()" method and for-each iteration. Does not support spread arguments (aka "def list = [*optional]"

[GitHub] [groovy] eric-milles commented on pull request #1732: GROOVY-10223: support conversion of `Optional` to array/collection

2022-06-24 Thread GitBox
eric-milles commented on PR #1732: URL: https://github.com/apache/groovy/pull/1732#issuecomment-1165715088 You can also do this, but I don't think it is an improvement over "optional.map(String::length).orElse(null)" or "optional.orElse(null)?.length()": ```groovy def nothing = Option

[GitHub] [groovy] eric-milles commented on pull request #1732: GROOVY-10223: support conversion of `Optional` to array/collection

2022-06-24 Thread GitBox
eric-milles commented on PR #1732: URL: https://github.com/apache/groovy/pull/1732#issuecomment-1165725099 And this kind of thing is not supported without `getAt(int)` or `getAt(Integer)`: ```groovy def opt = Optional.of('') def (String x) = opt assert x == '' ``` -- This i

[GitHub] [groovy] eric-milles opened a new pull request, #1733: GROOVY-10473: add stream `getAt(int)` and `getAt(IntRange)` extension methods for quick access

2022-06-26 Thread GitBox
eric-milles opened a new pull request, #1733: URL: https://github.com/apache/groovy/pull/1733 `IntStream`, `LongStream`, and `DoubleStream` do not have safe default for `getAt(int)`. They could have `getAt(IntRange)` added safely. I don't think `getAt(Range)` or `getAt(EmptyRange)` of `ge

[GitHub] [groovy] eric-milles commented on pull request #1733: GROOVY-10473: add stream `getAt(int)` and `getAt(IntRange)` extension methods for quick access

2022-06-26 Thread GitBox
eric-milles commented on PR #1733: URL: https://github.com/apache/groovy/pull/1733#issuecomment-119486 https://issues.apache.org/jira/browse/GROOVY-10666 discusses the possibility of supporting multiple-assignment for streams via `getAt(IntRange)` -- This is an automated message from

[GitHub] [groovy] daniellansun commented on pull request #1733: GROOVY-10473: add stream `getAt(int)` and `getAt(IntRange)` extension methods for quick access

2022-06-26 Thread GitBox
daniellansun commented on PR #1733: URL: https://github.com/apache/groovy/pull/1733#issuecomment-1166698028 +1 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubs

[GitHub] [groovy] eric-milles commented on pull request #1732: GROOVY-10223: support conversion of `Optional` to array/collection

2022-06-27 Thread GitBox
eric-milles commented on PR #1732: URL: https://github.com/apache/groovy/pull/1732#issuecomment-1167664770 @paulk-asert I agree, it seems the extension method `Optional collect(Optional,Closure)` is not that valuable. If deprecated, it would not resolve as an extension, which would then ca

[GitHub] [groovy] eric-milles merged pull request #1732: GROOVY-10223: support conversion of `Optional` to array/collection

2022-06-27 Thread GitBox
eric-milles merged PR #1732: URL: https://github.com/apache/groovy/pull/1732 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@g

[GitHub] [groovy] paulk-asert commented on pull request #1732: GROOVY-10223: support conversion of `Optional` to array/collection

2022-06-27 Thread GitBox
paulk-asert commented on PR #1732: URL: https://github.com/apache/groovy/pull/1732#issuecomment-1167957937 > @paulk-asert I agree, it seems the extension method `Optional collect(Optional,Closure)` is not that valuable. If deprecated, it would not resolve as an extension, which would then c

[GitHub] [groovy] eric-milles merged pull request #1733: GROOVY-10473: add stream `getAt(int)` and `getAt(IntRange)` extension methods for quick access

2022-06-28 Thread GitBox
eric-milles merged PR #1733: URL: https://github.com/apache/groovy/pull/1733 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@g

[GitHub] [groovy] naveensrinivasan opened a new pull request, #1735: chore: Included githubactions in the dependabot config

2022-06-30 Thread GitBox
naveensrinivasan opened a new pull request, #1735: URL: https://github.com/apache/groovy/pull/1735 This should help with keeping the GitHub actions updated on new releases. This will also help with keeping it secure. Dependabot helps in keeping the supply chain secure https://docs.gi

[GitHub] [groovy] paulk-asert merged pull request #1725: chore: Set permissions for GitHub actions

2022-06-30 Thread GitBox
paulk-asert merged PR #1725: URL: https://github.com/apache/groovy/pull/1725 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@g

[GitHub] [groovy] daniellansun commented on pull request #1734: GROOVY-10672: Provide a stream extension method 'from' taking an IntRange

2022-07-03 Thread GitBox
daniellansun commented on PR #1734: URL: https://github.com/apache/groovy/pull/1734#issuecomment-1173035140 +1 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscrib

[GitHub] [groovy] paulk-asert opened a new pull request, #1736: GROOVY-10676: ErrorReporter (used by FileSystemCompiler) can throw an…

2022-07-03 Thread GitBox
paulk-asert opened a new pull request, #1736: URL: https://github.com/apache/groovy/pull/1736 … IOOB exception on files with CR only -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific c

[GitHub] [groovy] paulk-asert merged pull request #1734: GROOVY-10672: Provide a stream extension method 'from' taking an IntRange

2022-07-03 Thread GitBox
paulk-asert merged PR #1734: URL: https://github.com/apache/groovy/pull/1734 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@g

[GitHub] [groovy] daniellansun commented on pull request #1736: GROOVY-10676: ErrorReporter (used by FileSystemCompiler) can throw an…

2022-07-03 Thread GitBox
daniellansun commented on PR #1736: URL: https://github.com/apache/groovy/pull/1736#issuecomment-1173126188 +1 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscrib

[GitHub] [groovy] paulk-asert merged pull request #1736: GROOVY-10676: ErrorReporter (used by FileSystemCompiler) can throw an…

2022-07-03 Thread GitBox
paulk-asert merged PR #1736: URL: https://github.com/apache/groovy/pull/1736 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@g

[GitHub] [groovy] paulk-asert commented on pull request #1725: chore: Set permissions for GitHub actions

2022-07-03 Thread GitBox
paulk-asert commented on PR #1725: URL: https://github.com/apache/groovy/pull/1725#issuecomment-1173196942 Merged. Thanks! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. T

[GitHub] [groovy] paulk-asert commented on pull request #1726: Add indention

2022-07-05 Thread GitBox
paulk-asert commented on PR #1726: URL: https://github.com/apache/groovy/pull/1726#issuecomment-1174953790 We would not likely include indentation recommendations in this document. Groovy as a language, like Java, is somewhat whitespace agnostic, i.e. it supports multiple indentation practi

[GitHub] [groovy] paulk-asert closed pull request #1726: Add indention

2022-07-05 Thread GitBox
paulk-asert closed pull request #1726: Add indention URL: https://github.com/apache/groovy/pull/1726 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: not

[GitHub] [groovy] paulk-asert merged pull request #1735: chore: Included githubactions in the dependabot config

2022-07-05 Thread GitBox
paulk-asert merged PR #1735: URL: https://github.com/apache/groovy/pull/1735 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@g

[GitHub] [groovy] paulk-asert commented on pull request #1735: chore: Included githubactions in the dependabot config

2022-07-05 Thread GitBox
paulk-asert commented on PR #1735: URL: https://github.com/apache/groovy/pull/1735#issuecomment-1174954743 Merged, thanks! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. T

[GitHub] [groovy] dependabot[bot] opened a new pull request, #1737: Bump actions/checkout from 2 to 3

2022-07-05 Thread GitBox
dependabot[bot] opened a new pull request, #1737: URL: https://github.com/apache/groovy/pull/1737 Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3. Release notes Sourced from https://github.com/actions/checkout/releases";>actions/checkout's releases.

[GitHub] [groovy] dependabot[bot] opened a new pull request, #1738: Bump actions/upload-artifact from 1 to 3

2022-07-05 Thread GitBox
dependabot[bot] opened a new pull request, #1738: URL: https://github.com/apache/groovy/pull/1738 Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 1 to 3. Release notes Sourced from https://github.com/actions/upload-artifact/releases";>actions/upload

[GitHub] [groovy] dependabot[bot] opened a new pull request, #1739: Bump gradle/wrapper-validation-action from 1.0.3 to 1.0.4

2022-07-05 Thread GitBox
dependabot[bot] opened a new pull request, #1739: URL: https://github.com/apache/groovy/pull/1739 Bumps [gradle/wrapper-validation-action](https://github.com/gradle/wrapper-validation-action) from 1.0.3 to 1.0.4. Release notes Sourced from https://github.com/gradle/wrapper-validat

[GitHub] [groovy] dependabot[bot] opened a new pull request, #1740: Bump actions/setup-java from 1 to 3

2022-07-05 Thread GitBox
dependabot[bot] opened a new pull request, #1740: URL: https://github.com/apache/groovy/pull/1740 Bumps [actions/setup-java](https://github.com/actions/setup-java) from 1 to 3. Release notes Sourced from https://github.com/actions/setup-java/releases";>actions/setup-java's release

[GitHub] [groovy] vanillajonathan commented on pull request #1726: Add indention

2022-07-05 Thread GitBox
vanillajonathan commented on PR #1726: URL: https://github.com/apache/groovy/pull/1726#issuecomment-1175289424 This leads to the Groovy community applying indention inconsistently. Developers are free to indent however they see fit, however I think it would serve the Groovy community well

[GitHub] [groovy] daniellansun merged pull request #1737: Bump actions/checkout from 2 to 3

2022-07-05 Thread GitBox
daniellansun merged PR #1737: URL: https://github.com/apache/groovy/pull/1737 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@

[GitHub] [groovy] daniellansun merged pull request #1738: Bump actions/upload-artifact from 1 to 3

2022-07-05 Thread GitBox
daniellansun merged PR #1738: URL: https://github.com/apache/groovy/pull/1738 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@

[GitHub] [groovy] daniellansun merged pull request #1740: Bump actions/setup-java from 1 to 3

2022-07-05 Thread GitBox
daniellansun merged PR #1740: URL: https://github.com/apache/groovy/pull/1740 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@

[GitHub] [groovy] daniellansun merged pull request #1739: Bump gradle/wrapper-validation-action from 1.0.3 to 1.0.4

2022-07-05 Thread GitBox
daniellansun merged PR #1739: URL: https://github.com/apache/groovy/pull/1739 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@

[GitHub] [groovy] paulk-asert commented on pull request #1726: Add indention

2022-07-06 Thread GitBox
paulk-asert commented on PR #1726: URL: https://github.com/apache/groovy/pull/1726#issuecomment-1176980188 Sometimes consistency is nice, sometimes inclusivity is nice. OO vs functional style, dynamic vs static, tabs vs spaces. As a general rule Groovy tries to be agnostic. For those

[GitHub] [groovy] vanillajonathan commented on pull request #1726: Add indention

2022-07-07 Thread GitBox
vanillajonathan commented on PR #1726: URL: https://github.com/apache/groovy/pull/1726#issuecomment-1177258198 The nice thing with a style guide is that it is just a guide, not rules. so even with indention defined in the style guide developers would still be free to use whatever they want.

[GitHub] [groovy] paulk-asert opened a new pull request, #1741: GROOVY-10684: Support opening the Object browser from within the AST …

2022-07-07 Thread GitBox
paulk-asert opened a new pull request, #1741: URL: https://github.com/apache/groovy/pull/1741 …browser -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mai

[GitHub] [groovy] paulk-asert commented on pull request #1741: GROOVY-10684: Support opening the Object browser from within the AST …

2022-07-07 Thread GitBox
paulk-asert commented on PR #1741: URL: https://github.com/apache/groovy/pull/1741#issuecomment-1177826918 I may yet change `Tuple2>` to just `List`. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go

[GitHub] [groovy] paulk-asert merged pull request #1741: GROOVY-10684: Support opening the Object browser from within the AST …

2022-07-07 Thread GitBox
paulk-asert merged PR #1741: URL: https://github.com/apache/groovy/pull/1741 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@g

[GitHub] [groovy] eric-milles opened a new pull request, #1742: GROOVY-8965, GROOVY-10180, GROOVY-10668: STC: `instanceof` and `||`

2022-07-08 Thread GitBox
eric-milles opened a new pull request, #1742: URL: https://github.com/apache/groovy/pull/1742 As discussed under 8965 and 10668, check LUB type first for common method (fixes `testMultipleInstanceOf4`). Duck-typing (`testMultipleInstanceOf1` and `testMultipleInstanceOf5`) is incomplete; cu

[GitHub] [groovy] sandipchitale opened a new pull request, #1743: Tooltip and CTRL+BUTTON3 click to copy to cell value to clipboard.

2022-07-10 Thread GitBox
sandipchitale opened a new pull request, #1743: URL: https://github.com/apache/groovy/pull/1743 - Hovering over cells shows a tooltip. - CTRL+Right Click (BUTTON 3) copies the value to the clipboard. -- This is an automated message from the Apache Git Service. To respond to the message,

[GitHub] [groovy] paulk-asert opened a new pull request, #1744: GROOVY-10681: Groovysh doesn't handle multiline strings with """ or '…

2022-07-11 Thread GitBox
paulk-asert opened a new pull request, #1744: URL: https://github.com/apache/groovy/pull/1744 …'' correctly -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe,

[GitHub] [groovy] paulk-asert commented on pull request #1743: Tooltip and CTRL+BUTTON3 click to copy cell value to clipboard.

2022-07-11 Thread GitBox
paulk-asert commented on PR #1743: URL: https://github.com/apache/groovy/pull/1743#issuecomment-1180469148 The tooltip stuff looks great. I am wondering whether a simple right-click => "copy cell" popup menu might be more consistent since we have such actions in other places. Thoughts? Let

[GitHub] [groovy] eric-milles commented on pull request #1742: GROOVY-8965, GROOVY-10180, GROOVY-10668: STC: `instanceof` and `||`

2022-07-11 Thread GitBox
eric-milles commented on PR #1742: URL: https://github.com/apache/groovy/pull/1742#issuecomment-1180578513 Updated to support duck-typing scenario. I'm still trying to figure how to support 6790, 8142 and `(x instanceof Map || x instanceof List) ? x.size() : 1` at the same time. htt

[GitHub] [groovy] sonatype-lift[bot] commented on a diff in pull request #1742: GROOVY-8965, GROOVY-10180, GROOVY-10668: STC: `instanceof` and `||`

2022-07-11 Thread GitBox
sonatype-lift[bot] commented on code in PR #1742: URL: https://github.com/apache/groovy/pull/1742#discussion_r918148023 ## src/main/java/org/codehaus/groovy/transform/stc/StaticTypeCheckingVisitor.java: ## @@ -4702,37 +4703,36 @@ protected MethodNode findMethodOrFail(final Expre

[GitHub] [groovy] eric-milles commented on a diff in pull request #1742: GROOVY-8965, GROOVY-10180, GROOVY-10668: STC: `instanceof` and `||`

2022-07-11 Thread GitBox
eric-milles commented on code in PR #1742: URL: https://github.com/apache/groovy/pull/1742#discussion_r918218290 ## src/main/java/org/codehaus/groovy/transform/stc/StaticTypeCheckingVisitor.java: ## @@ -4702,37 +4703,36 @@ protected MethodNode findMethodOrFail(final Expression

[GitHub] [groovy] sonatype-lift[bot] commented on a diff in pull request #1742: GROOVY-8965, GROOVY-10180, GROOVY-10668: STC: `instanceof` and `||`

2022-07-11 Thread GitBox
sonatype-lift[bot] commented on code in PR #1742: URL: https://github.com/apache/groovy/pull/1742#discussion_r918218361 ## src/main/java/org/codehaus/groovy/transform/stc/StaticTypeCheckingVisitor.java: ## @@ -4702,37 +4703,36 @@ protected MethodNode findMethodOrFail(final Expre

[GitHub] [groovy] eric-milles commented on pull request #1742: GROOVY-8965, GROOVY-10180, GROOVY-10668: STC: `instanceof` and `||`

2022-07-11 Thread GitBox
eric-milles commented on PR #1742: URL: https://github.com/apache/groovy/pull/1742#issuecomment-1180716117 STC still does not produce an error for `o instanceof Map || o instanceof List ? o.entrySet() : null` -- this is not a new issue. -- This is an automated message from the Apache Git

[GitHub] [groovy] eric-milles commented on pull request #1742: GROOVY-8965, GROOVY-10180, GROOVY-10668: STC: `instanceof` and `||`

2022-07-11 Thread GitBox
eric-milles commented on PR #1742: URL: https://github.com/apache/groovy/pull/1742#issuecomment-1180735207 Another thing that surprised me is that LUB(Integer,Double) is Double, not Number. I'm not sure why this is the case: https://github.com/apache/groovy/blob/master/src/main/java/org/co

[GitHub] [groovy] sandipchitale commented on pull request #1743: Tooltip and CTRL+BUTTON3 click to copy cell value to clipboard.

2022-07-11 Thread GitBox
sandipchitale commented on PR #1743: URL: https://github.com/apache/groovy/pull/1743#issuecomment-1180872636 Thanks. I like the use of the popup menu better. I do now know SwingBuilder very well and could not figure out how to set up the popup menu on the table. If you are familiar and have

[GitHub] [groovy] paulk-asert commented on pull request #1743: Tooltip and CTRL+BUTTON3 click to copy cell value to clipboard.

2022-07-11 Thread GitBox
paulk-asert commented on PR #1743: URL: https://github.com/apache/groovy/pull/1743#issuecomment-1181228980 The tooltip part of the PR has been merged. Thanks! I'll try to have a look at the popup menu idea in the next few days. -- This is an automated message from the Apache Git Service

[GitHub] [groovy] paulk-asert closed pull request #1743: Tooltip and CTRL+BUTTON3 click to copy cell value to clipboard.

2022-07-11 Thread GitBox
paulk-asert closed pull request #1743: Tooltip and CTRL+BUTTON3 click to copy cell value to clipboard. URL: https://github.com/apache/groovy/pull/1743 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to

[GitHub] [groovy] blackdrag commented on pull request #1742: GROOVY-8965, GROOVY-10180, GROOVY-10668: STC: `instanceof` and `||`

2022-07-12 Thread GitBox
blackdrag commented on PR #1742: URL: https://github.com/apache/groovy/pull/1742#issuecomment-1181626022 > Another thing that surprised me is that LUB(Integer,Double) is Double, not Number. I'm not sure why this is the case: https://github.com/apache/groovy/blob/master/src/main/java/org/cod

[GitHub] [groovy] eric-milles merged pull request #1742: GROOVY-8965, GROOVY-10180, GROOVY-10668: STC: `instanceof` and `||`

2022-07-12 Thread GitBox
eric-milles merged PR #1742: URL: https://github.com/apache/groovy/pull/1742 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@g

[GitHub] [groovy] paulk-asert merged pull request #1744: GROOVY-10681: Groovysh doesn't handle multiline strings with """ or '…

2022-07-12 Thread GitBox
paulk-asert merged PR #1744: URL: https://github.com/apache/groovy/pull/1744 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@g

[GitHub] [groovy] paulk-asert merged pull request #1745: Help > Usage menu item and dialog.

2022-07-12 Thread GitBox
paulk-asert merged PR #1745: URL: https://github.com/apache/groovy/pull/1745 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@g

[GitHub] [groovy] paulk-asert commented on pull request #1745: Help > Usage menu item and dialog.

2022-07-12 Thread GitBox
paulk-asert commented on PR #1745: URL: https://github.com/apache/groovy/pull/1745#issuecomment-1182712098 Merged. Thanks! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. T

[GitHub] [groovy] yaccz closed pull request #256: Tighten the filtering prefixes

2022-07-13 Thread GitBox
yaccz closed pull request #256: Tighten the filtering prefixes URL: https://github.com/apache/groovy/pull/256 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-

[GitHub] [groovy] yaccz commented on pull request #256: Tighten the filtering prefixes

2022-07-13 Thread GitBox
yaccz commented on PR #256: URL: https://github.com/apache/groovy/pull/256#issuecomment-1182847708 Hi. I have read the mailing list just now and while I can't comment on the solution since I only skimmed that due to not working with java anymore, I have to commend @paulk-asert 's analysis o

[GitHub] [groovy] eric-milles closed pull request #1269: GROOVY-7971: do not save instanceof types under logical or

2022-07-13 Thread GitBox
eric-milles closed pull request #1269: GROOVY-7971: do not save instanceof types under logical or URL: https://github.com/apache/groovy/pull/1269 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the

[GitHub] [groovy] paulk-asert commented on pull request #1746: GROOVY-10679: Annotations not being correctly placed in native records

2022-07-14 Thread GitBox
paulk-asert commented on PR #1746: URL: https://github.com/apache/groovy/pull/1746#issuecomment-1184219784 I haven't yet created a constant for "_SKIPPABLE_ANNOTATIONS" and similarly there is a private but not public constant for "_RECORD_HEADER". We could make public constants or usage cou

[GitHub] [groovy] daniellansun commented on pull request #1746: GROOVY-10679: Annotations not being correctly placed in native records

2022-07-14 Thread GitBox
daniellansun commented on PR #1746: URL: https://github.com/apache/groovy/pull/1746#issuecomment-1185046328 +1 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscrib

[GitHub] [groovy] sandipchitale opened a new pull request, #1747: Post OB and ASTB changes to GROOVY_3_0_x

2022-07-15 Thread GitBox
sandipchitale opened a new pull request, #1747: URL: https://github.com/apache/groovy/pull/1747 I took a crack at porting OB and ASTB changes to GROOVY_3_0_x. I assumed that work for the next 3.0.X release is being done on GROOVY_3_0_x . It is possible I made some mistakes. Local testing s

[GitHub] [groovy] sonatype-lift[bot] commented on a diff in pull request #1747: Post OB and ASTB changes to GROOVY_3_0_x

2022-07-15 Thread GitBox
sonatype-lift[bot] commented on code in PR #1747: URL: https://github.com/apache/groovy/pull/1747#discussion_r922569792 ## src/test-resources/groovy/bugs/groovy9236/Main.groovy: ## @@ -0,0 +1,31 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more

[GitHub] [groovy] sonatype-lift[bot] commented on a diff in pull request #1747: Post OB and ASTB changes to GROOVY_3_0_x

2022-07-15 Thread GitBox
sonatype-lift[bot] commented on code in PR #1747: URL: https://github.com/apache/groovy/pull/1747#discussion_r922569875 ## src/test/groovy/DoWhileLoopTest.groovy: ## @@ -18,6 +18,8 @@ */ package groovy +import groovy.test.GroovyTestCase + class DoWhileLoopTest extends Groo

[GitHub] [groovy] sonatype-lift[bot] commented on a diff in pull request #1747: Post OB and ASTB changes to GROOVY_3_0_x

2022-07-15 Thread GitBox
sonatype-lift[bot] commented on code in PR #1747: URL: https://github.com/apache/groovy/pull/1747#discussion_r922569947 ## src/test/groovy/IllegalAccessTests.groovy: ## @@ -0,0 +1,88 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor

[GitHub] [groovy] sonatype-lift[bot] commented on a diff in pull request #1747: Post OB and ASTB changes to GROOVY_3_0_x

2022-07-15 Thread GitBox
sonatype-lift[bot] commented on code in PR #1747: URL: https://github.com/apache/groovy/pull/1747#discussion_r922570001 ## src/test/groovy/RegularExpressionsTest.groovy: ## @@ -372,6 +394,7 @@ class RegularExpressionsTest extends GroovyTestCase { assert matcher[0][1] ==

[GitHub] [groovy] sonatype-lift[bot] commented on a diff in pull request #1747: Post OB and ASTB changes to GROOVY_3_0_x

2022-07-15 Thread GitBox
sonatype-lift[bot] commented on code in PR #1747: URL: https://github.com/apache/groovy/pull/1747#discussion_r922570072 ## src/test/groovy/bugs/Groovy9589.groovy: ## @@ -0,0 +1,68 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor lic

[GitHub] [groovy] sonatype-lift[bot] commented on a diff in pull request #1747: Post OB and ASTB changes to GROOVY_3_0_x

2022-07-15 Thread GitBox
sonatype-lift[bot] commented on code in PR #1747: URL: https://github.com/apache/groovy/pull/1747#discussion_r922570241 ## src/test/groovy/transform/stc/GenericsSTCTest.groovy: ## @@ -1824,28 +4217,45 @@ assert result == 'ok' ''' } -static class MyList extend

[GitHub] [groovy] sonatype-lift[bot] commented on a diff in pull request #1747: Post OB and ASTB changes to GROOVY_3_0_x

2022-07-15 Thread GitBox
sonatype-lift[bot] commented on code in PR #1747: URL: https://github.com/apache/groovy/pull/1747#discussion_r922570145 ## src/test/groovy/lang/MetaClassRegistryTest.groovy: ## @@ -28,7 +30,7 @@ class MetaClassRegistryTest extends GroovyTestCase { static initSize stati

[GitHub] [groovy] sonatype-lift[bot] commented on a diff in pull request #1747: Post OB and ASTB changes to GROOVY_3_0_x

2022-07-15 Thread GitBox
sonatype-lift[bot] commented on code in PR #1747: URL: https://github.com/apache/groovy/pull/1747#discussion_r922570332 ## src/test/org/codehaus/groovy/classgen/asm/sc/FieldsAndPropertiesStaticCompileTest.groovy: ## @@ -535,24 +561,24 @@ import org.codehaus.groovy.transform.sc.

[GitHub] [groovy] sonatype-lift[bot] commented on a diff in pull request #1747: Post OB and ASTB changes to GROOVY_3_0_x

2022-07-15 Thread GitBox
sonatype-lift[bot] commented on code in PR #1747: URL: https://github.com/apache/groovy/pull/1747#discussion_r922570423 ## src/test/org/codehaus/groovy/classgen/asm/sc/FieldsAndPropertiesStaticCompileTest.groovy: ## @@ -759,33 +815,34 @@ import org.codehaus.groovy.transform.sc.

[GitHub] [groovy] sonatype-lift[bot] commented on a diff in pull request #1747: Post OB and ASTB changes to GROOVY_3_0_x

2022-07-15 Thread GitBox
sonatype-lift[bot] commented on code in PR #1747: URL: https://github.com/apache/groovy/pull/1747#discussion_r922570687 ## src/test/org/codehaus/groovy/runtime/powerassert/AssertionTestUtil.groovy: ## @@ -18,21 +18,26 @@ */ package org.codehaus.groovy.runtime.powerassert +i

[GitHub] [groovy] sonatype-lift[bot] commented on a diff in pull request #1747: Post OB and ASTB changes to GROOVY_3_0_x

2022-07-15 Thread GitBox
sonatype-lift[bot] commented on code in PR #1747: URL: https://github.com/apache/groovy/pull/1747#discussion_r922570811 ## subprojects/groovy-astbuilder/src/test/groovy/org/codehaus/groovy/ast/CodeVisitorSupportTest.groovy: ## @@ -45,6 +48,7 @@ class CodeVisitorSupportTest exten

[GitHub] [groovy] sonatype-lift[bot] commented on a diff in pull request #1747: Post OB and ASTB changes to GROOVY_3_0_x

2022-07-15 Thread GitBox
sonatype-lift[bot] commented on code in PR #1747: URL: https://github.com/apache/groovy/pull/1747#discussion_r922570891 ## subprojects/groovy-groovydoc/src/test/groovy/org/codehaus/groovy/tools/groovydoc/testfiles/anno/Groovy.groovy: ## @@ -0,0 +1,39 @@ +/* + * Licensed to the

[GitHub] [groovy] sonatype-lift[bot] commented on a diff in pull request #1747: Post OB and ASTB changes to GROOVY_3_0_x

2022-07-15 Thread GitBox
sonatype-lift[bot] commented on code in PR #1747: URL: https://github.com/apache/groovy/pull/1747#discussion_r922570982 ## subprojects/groovy-test/src/test/groovy/groovy/test/suite/ATestScriptThatsNoTestCase.groovy: ## @@ -16,5 +16,7 @@ * specific language governing permissio

[GitHub] [groovy] sonatype-lift[bot] commented on a diff in pull request #1747: Post OB and ASTB changes to GROOVY_3_0_x

2022-07-15 Thread GitBox
sonatype-lift[bot] commented on code in PR #1747: URL: https://github.com/apache/groovy/pull/1747#discussion_r922571101 ## subprojects/parser-antlr4/src/test/resources/bugs/BUG-GROOVY-9433.groovy: ## @@ -0,0 +1,19 @@ +/* + * Licensed to the Apache Software Foundation (ASF) unde

[GitHub] [groovy] sonatype-lift[bot] commented on a diff in pull request #1747: Post OB and ASTB changes to GROOVY_3_0_x

2022-07-15 Thread GitBox
sonatype-lift[bot] commented on code in PR #1747: URL: https://github.com/apache/groovy/pull/1747#discussion_r922571212 ## subprojects/parser-antlr4/src/test/resources/core/Comments_03x.groovy: ## @@ -0,0 +1,23 @@ +#! /usr/bin/env nix-shell +#! nix-shell -i groovy -p groovy +#!

[GitHub] [groovy] sonatype-lift[bot] commented on a diff in pull request #1747: Post OB and ASTB changes to GROOVY_3_0_x

2022-07-15 Thread GitBox
sonatype-lift[bot] commented on code in PR #1747: URL: https://github.com/apache/groovy/pull/1747#discussion_r922571483 ## src/main/java/org/codehaus/groovy/antlr/AntlrParserPlugin.java: ## @@ -1173,7 +1151,7 @@ private void verifyParameters(List parameters, AST firstParameterN

[GitHub] [groovy] sandipchitale opened a new pull request, #1748: Post changes for drill-down ObjectBrowser and use it in AST Browser.

2022-07-15 Thread GitBox
sandipchitale opened a new pull request, #1748: URL: https://github.com/apache/groovy/pull/1748 I took a crack at porting OB and ASTB changes to GROOVY_3_0_x. I assumed that work for the next 3.0.X release is being done on GROOVY_3_0_x . It is possible I made some mistakes. Local testing sh

[GitHub] [groovy] sandipchitale closed pull request #1748: Post changes for drill-down ObjectBrowser and use it in AST Browser.

2022-07-15 Thread GitBox
sandipchitale closed pull request #1748: Post changes for drill-down ObjectBrowser and use it in AST Browser. URL: https://github.com/apache/groovy/pull/1748 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above t

[GitHub] [groovy] sandipchitale commented on pull request #1748: Post changes for drill-down ObjectBrowser and use it in AST Browser.

2022-07-15 Thread GitBox
sandipchitale commented on PR #1748: URL: https://github.com/apache/groovy/pull/1748#issuecomment-1186019214 I filed a correct PR. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific com

[GitHub] [groovy] sandipchitale closed pull request #1747: Post OB and ASTB changes to GROOVY_3_0_x

2022-07-15 Thread GitBox
sandipchitale closed pull request #1747: Post OB and ASTB changes to GROOVY_3_0_x URL: https://github.com/apache/groovy/pull/1747 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment

[GitHub] [groovy] sandipchitale commented on pull request #1747: Post OB and ASTB changes to GROOVY_3_0_x

2022-07-15 Thread GitBox
sandipchitale commented on PR #1747: URL: https://github.com/apache/groovy/pull/1747#issuecomment-1186021941 Closed. Let me fix merge conflicts. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to th

[GitHub] [groovy] paulk-asert opened a new pull request, #1749: GROOVY-10689: Groovydoc for Groovy 3+ documents classes at too early …

2022-07-18 Thread GitBox
paulk-asert opened a new pull request, #1749: URL: https://github.com/apache/groovy/pull/1749 …a phase of compilation -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To uns

[GitHub] [groovy] paulk-asert commented on pull request #1746: GROOVY-10679: Annotations not being correctly placed in native records

2022-07-19 Thread GitBox
paulk-asert commented on PR #1746: URL: https://github.com/apache/groovy/pull/1746#issuecomment-1188951542 Merged! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubs

<    1   2   3   4   5   6   7   8   9   10   >