groovy-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul King (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (GROOVY-8282) Error while popping argument from operand stack tracker in class ...$Trait$Helper
Date Wed, 25 Jul 2018 04:10:00 GMT

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

Paul King resolved GROOVY-8282.
-------------------------------
       Resolution: Fixed
         Assignee: Paul King
    Fix Version/s: 2.5.2

Should be fixed in the next release. Thanks for spotting the issue.

> 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
>            Assignee: Paul King
>            Priority: Minor
>             Fix For: 2.5.2
>
>
> 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)

Mime
View raw message