Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.4.8, 2.4.15, 2.5.1
-
None
-
None
Description
Hello.
I'm facing a compilation error with this simple trait definition, with a public method invoking a private one with an implicit Map:
trait BugReproduction {
def foo() {
bar(a: 1)
}
private bar(Map args) {
}
}
The error message:
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).
I use Groovy v2.4.8
Attachments
Issue Links
- links to