Details
Description
Base.java:
public abstract class Base extends Base2
{
}
Base2.java:
public class Base2
{
public void print(Object out)
}
Simple.groovy
class Simple extends Base
{
static void main(args)
void process()
{ print("ok") }}
prints out "ok" instead of "Base:ok"
Trying with Simple.java:
public class Simple extends Base
{
public static void main(String[] args)
public void process()
{ print("ok"); }}
behaves correctly
Issue Links
| This issue is depended upon by: | ||||
| GROOVY-105 | Parent class print method is wrongly picked up |
|
|
|
Could you please have a look at this old bug, submitted by our fried Geert Bevin ?
After this bug is fixed, I think it's worth releasing beta-7.