I just upgraded to 2.9.2-xx-201611222343-e46 to see if there were bug fixes for some of the groovy editor issues I've been experiencing. Unfortunately, this build has completely broken my projects, so I am going to have to back out to the earlier groovy-eclipse version.
I have several groovy unit tests that had previously been working fine. The tests all extend a common base class, so I want to pass in some options to configure individual tests. These options are specified with an annotation called @options, and I have an enum called SpecOption to list the various options. The @options annotation has a single attribute which is an array of SpecOptions.
So for example, I might have a class annotated:
@Options([SpecOption.FOO, SpecOption.BAR])
class FooTest extends SpecBase {
Now I get a compile error saying:
Type mismatch: cannot convert from Class<SpecOption> to SpecOption
and there doesn't seem to be any way to get rid of it. This is a complete blocker for me.
I just upgraded to 2.9.2-xx-201611222343-e46 to see if there were bug fixes for some of the groovy editor issues I've been experiencing. Unfortunately, this build has completely broken my projects, so I am going to have to back out to the earlier groovy-eclipse version.
I have several groovy unit tests that had previously been working fine. The tests all extend a common base class, so I want to pass in some options to configure individual tests. These options are specified with an annotation called @options, and I have an enum called SpecOption to list the various options. The @options annotation has a single attribute which is an array of SpecOptions.
So for example, I might have a class annotated:
Now I get a compile error saying:
Type mismatch: cannot convert from Class<SpecOption> to SpecOptionand there doesn't seem to be any way to get rid of it. This is a complete blocker for me.