groovy / groovy-eclipse

Eclipse Groovy Development Tools
656 stars 193 forks source link

Parameter type is ambiguous in Java5.java #194

Closed ghost closed 7 years ago

ghost commented 8 years ago

I'm getting multiple build errors in this file when building with Eclipse:

https://github.com/groovy/groovy-eclipse/blob/master/attic/org.codehaus.groovy/src/org/codehaus/groovy/vmplugin/v5/Java5.java

The java.lang.reflect and org.codehaus.groovy.ast packages are both imported and both contain a Parameter class. Explicitly importing org.codehaus.groovy.ast.Parameter resolves the ambiguity and it builds without errors.

Am I doing something wrong, or does this need to be fixed?

felixdo commented 8 years ago

This was fixed in the master branch a few weeks ago.

EDIT: Sorry, it was actually not fixed I guess. I had created https://github.com/groovy/groovy-eclipse/issues/188 and found one problem and then this. It seems Andy hasn't noticed my additional comment after the issue was closed.

EDIT2: I wanted to reopen the issue but I'm not allowed to.