tkobayas opened a new issue, #6790:
URL: https://github.com/apache/incubator-kie-drools/issues/6790

   
https://github.com/apache/incubator-kie-docs/blob/main/drools-docs/src/modules/ROOT/pages/language-reference-traditional/_drl-declarations-extended-con.adoc
   ```
   import org.people.Person
   
   declare Person end
   
   declare Student extends Person
       school : String
   end
   
   declare LongTermStudent extends Student
       years : int
       course : String
   end
   ```
   
   It says `To extend a type declared in Java by a subtype declared in DRL, you 
repeat the parent type in a declaration statement without any fields.` , but 
actually even without `declare Person end`, the rule seems to work. Check if 
such usage is acceptable or not.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to