groovy-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Kleeh (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GROOVY-8726) Parameter lacks a reference to the MethodNode it belongs to
Date Wed, 01 Aug 2018 21:34:00 GMT

    [ https://issues.apache.org/jira/browse/GROOVY-8726?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16566019#comment-16566019
] 

James Kleeh commented on GROOVY-8726:
-------------------------------------

[~daniel_sun] [~paulk] Looks like there are many areas of the source that expect parameters
to be reusable and thus passed to multiple method node constructors. Is this something you
would be willing to accept a change for? It would require essentially cloning the parameters
when they are being used multiple times. At the moment I'm throwing an exception when the
same parameter is passed to 2 different method node constructors.

> Parameter lacks a reference to the MethodNode it belongs to
> -----------------------------------------------------------
>
>                 Key: GROOVY-8726
>                 URL: https://issues.apache.org/jira/browse/GROOVY-8726
>             Project: Groovy
>          Issue Type: Improvement
>          Components: Compiler
>    Affects Versions: 2.5.1
>            Reporter: James Kleeh
>            Priority: Major
>
> The Parameter class lacks a reference to it's method node. This is important to find
arguments that have been "overridden".



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message