You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Paul King (JIRA)" <ji...@apache.org> on 2017/02/01 23:19:02 UTC

[jira] [Closed] (GROOVY-6738) Type checking considers extension methods but not extension properties

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

Paul King closed GROOVY-6738.
-----------------------------

> Type checking considers extension methods but not extension properties
> ----------------------------------------------------------------------
>
>                 Key: GROOVY-6738
>                 URL: https://issues.apache.org/jira/browse/GROOVY-6738
>             Project: Groovy
>          Issue Type: Bug
>          Components: Static Type Checker
>    Affects Versions: 2.3.0-rc-2
>            Reporter: Peter Niederwieser
>            Assignee: Shil Sinha
>             Fix For: 2.4.8
>
>
> Say an extension class registered via an extension module declares a Player#getBonusPoints() extension method. Then `player.getBonusPoints()` type-checks, but `player.bonusPoints` doesn't.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)