[jira] [Updated] (GROOVY-8282) Error while popping argument from operand stack tracker in class ...$Trait$Helper

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Updated] (GROOVY-8282) Error while popping argument from operand stack tracker in class ...$Trait$Helper

JIRA jira@apache.org

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

Paul King updated GROOVY-8282:
------------------------------
    Affects Version/s: 2.4.8
                       2.4.15
                       2.5.1

> Error while popping argument from operand stack tracker in class ...$Trait$Helper
> ---------------------------------------------------------------------------------
>
>                 Key: GROOVY-8282
>                 URL: https://issues.apache.org/jira/browse/GROOVY-8282
>             Project: Groovy
>          Issue Type: Bug
>    Affects Versions: 2.4.8, 2.4.15, 2.5.1
>            Reporter: Lucas Cimon
>            Priority: Minor
>
> Hello.
> I'm facing a compilation error with this simple {{trait}} definition, with a public method invoking a private one with an implicit {{Map}}:
> {code}
> trait BugReproduction {
>     def foo() {
>         bar(a: 1)
>     }
>     private bar(Map args) {
>     }
> }
> {code}
> The error message:
> {code}
> Caught: BUG! exception in phase 'class generation' in source unit 'file:/.../BugReproduction.groovy' Error while popping argument from operand stack tracker in class BugReproduction$Trait$Helper method java.lang.Object foo(BugReproduction).
> BUG! exception in phase 'class generation' in source unit 'file:/.../BugReproduction.groovy' Error while popping argument from operand stack tracker in class BugReproduction$Trait$Helper method java.lang.Object foo(BugReproduction).
> {code}
> I use Groovy v2.4.8



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