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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

JIRA jira@apache.org
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)
Loading...