groovy-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shil Sinha (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (GROOVY-7952) Property expressions for extension methods starting with 'is' fail STC
Date Thu, 06 Oct 2016 03:06:20 GMT

     [ https://issues.apache.org/jira/browse/GROOVY-7952?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Shil Sinha resolved GROOVY-7952.
--------------------------------
       Resolution: Fixed
    Fix Version/s: 2.5.0-beta-1

> Property expressions for extension methods starting with 'is' fail STC
> ----------------------------------------------------------------------
>
>                 Key: GROOVY-7952
>                 URL: https://issues.apache.org/jira/browse/GROOVY-7952
>             Project: Groovy
>          Issue Type: Bug
>          Components: Static compilation, Static Type Checker
>    Affects Versions: 2.4.7
>            Reporter: Shil Sinha
>            Assignee: Shil Sinha
>             Fix For: 2.5.0-beta-1
>
>
> Example:
> {code}
> import groovy.transform.TypeChecked
> void test() {
>     assert !'abc'.allWhitespace
> }
> {code}
> The code above fails static type checking with the following error:
> {code}
> [Static type checking] - No such property: allWhitespace for class: java.lang.String
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message