This is an automated email from the ASF dual-hosted git repository. sunlan pushed a commit to branch GROOVY_4_0_X in repository https://gitbox.apache.org/repos/asf/groovy.git
commit d9eaf1bdc21e86bed52ce4619fe29ebf3ef6cb7c Author: Alex Golub <[email protected]> AuthorDate: Fri Sep 16 19:29:09 2022 +0300 Avoid inconvertible types warning at the `assert composite*.id == [1,2]` as left hand side is `ArrayList<Long>` while right hand side is `ArrayList<Integer>` (cherry picked from commit 5dec8691ff0c4da4c2cb8c135cf93775092b9ffc) --- src/spec/test/OperatorsTest.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/spec/test/OperatorsTest.groovy b/src/spec/test/OperatorsTest.groovy index 32fd550d75..c35cc97556 100644 --- a/src/spec/test/OperatorsTest.groovy +++ b/src/spec/test/OperatorsTest.groovy @@ -421,7 +421,7 @@ assert null*.make == null // <3> assertScript ''' // tag::spreaddot_iterable[] class Component { - Long id + Integer id String name } class CompositeObject implements Iterable<Component> {
