[ https://issues.apache.org/jira/browse/GROOVY-11659?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17986155#comment-17986155 ]
ASF GitHub Bot commented on GROOVY-11659: ----------------------------------------- eric-milles opened a new pull request, #2258: URL: https://github.com/apache/groovy/pull/2258 `IntRange` is `List<Integer>` > STC: assign range to primitive array > ------------------------------------ > > Key: GROOVY-11659 > URL: https://issues.apache.org/jira/browse/GROOVY-11659 > Project: Groovy > Issue Type: Improvement > Components: Static Type Checker > Reporter: Paul King > Assignee: Eric Milles > Priority: Minor > > We currently allow this with type checking: > {code:groovy} > Integer[] nums = 1..10 > {code} > But not these: > {code:groovy} > int[] nums = 1..10 > long[] bigNums = 1..10 > {code} -- This message was sent by Atlassian Jira (v8.20.10#820010)