You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Lucas Cimon (JIRA)" <ji...@apache.org> on 2017/08/09 16:54:00 UTC

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

Lucas Cimon created GROOVY-8282:
-----------------------------------

             Summary: 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
            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
(v6.4.14#64029)