tkobayas commented on PR #5976:
URL: 
https://github.com/apache/incubator-kie-drools/pull/5976#issuecomment-2141439565

   `LanguageLevelOption.DRL6_STRICT` has 2 points:
   1) Parser phase: Annotation should be placed at the beginning of the 
statement. e.g. 
   ```
   @Xyz rule yyy
   when
     ...
   ```
   2) Compiler phase: Annotation should be resolved as Java annotation (= User 
custom annotation has to actually exist).
   
   `LanguageLevelOption.DRL6_STRICT`  is not written in document and I haven't 
seen users using it. Also implementing it would cause complexity which doesn't 
likely pay off (Old parser maintains 2 parser classes `DRL6Parser` and 
`DRL6StrictParser`). So I think we can skip the test at the moment, and we will 
discuss a deprecation plan in      [email protected] later. Of course, if 
there is a strong need, we will be able to implement it. WDYT? @mariofusco 
@yurloc @gitgabrio @baldimir 


-- 
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