k3 icon indicating copy to clipboard operation
k3 copied to clipboard

cannot define base class and aspect class in the same project

Open dvojtise opened this issue 8 years ago • 1 comments

A simple example with 2 files in the same project will not work.

package test.base
class A {
}

and the second file

package test.aspects
import test.base.A
@Aspect(className=A)
class AAspect {
}

the returned error is

Cannot resolve the class to aspectise. Check that the classes to aspectise are not in the same project that your aspects.

even if this isn't the typical use case for K3, this is annoying for correctly writing the tests for K3 :cry:

the bug also occurs if the files are in the same package

dvojtise avatar Apr 28 '16 15:04 dvojtise