-
Bug
-
Resolution: Done
-
Major
-
None
-
None
-
None
Having added the following import statements in the drl:
import org.drools.compiler.test.Person
import org.drools.compiler.test.Man
this field initialization in a declared type in the same drl doesn't compile:
persons: Person[] = new Person[]
{ new Man() }As a workaround, note that adding the full class names fixes the problem:
persons: Person[] = new org.drools.compiler.test.Person[]
{ new org.drools.compiler.test.Man() }