You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Daniel Sun (Jira)" <ji...@apache.org> on 2019/10/01 05:02:00 UTC
[jira] [Updated] (GROOVY-9261) Refine type inference for ARM
[ https://issues.apache.org/jira/browse/GROOVY-9261?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Sun updated GROOVY-9261:
-------------------------------
Description: Currently any types of variables can be declared in ARM, so exceptions could be thrown at runtime if the variables are not of type {{AutoCloseable}}. We should check the type of resource when SC/STC is enabled. (was: Currently any types of variables can be declared in ARM, so exceptions could be thrown at runtime if the variables are not of type {{AutoClosable}})
> Refine type inference for ARM
> -----------------------------
>
> Key: GROOVY-9261
> URL: https://issues.apache.org/jira/browse/GROOVY-9261
> Project: Groovy
> Issue Type: Improvement
> Reporter: Daniel Sun
> Assignee: Daniel Sun
> Priority: Major
> Fix For: 3.0.0-beta-4
>
>
> Currently any types of variables can be declared in ARM, so exceptions could be thrown at runtime if the variables are not of type {{AutoCloseable}}. We should check the type of resource when SC/STC is enabled.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)