[
https://issues.apache.org/jira/browse/GROOVY-8282?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Paul King closed GROOVY-8282.
-----------------------------
> 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)