You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kie.apache.org by "yurloc (via GitHub)" <gi...@apache.org> on 2024/04/02 15:57:43 UTC

[I] [new-parser] Elementary trait support is missing [incubator-kie-drools]

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

   ## Parent issue
   - #5678 
   
   ## Failing tests
   - `org.drools.traits.compiler.factmodel.traits.LegacyTraitTest#traitWithPojoInterface`
   
   ## Notes
   - Blocks all tests under `drools-traits`.
   
   ## Rule code snippet
   ```
   declare trait ExtendedProcedure
      @role( event )
   end
   ```
   
   ## Error output
   ```
   ### parse : ANTLR4_PARSER_ENABLED = true
   line 6:35 mismatched input '@' expecting ':'
   line 6:40 mismatched input '(' expecting {'end', '[', ';', '.', '=', '<', '@', IDENTIFIER}
   line 6:75 mismatched input 'extends' expecting ':'
   
   java.lang.RuntimeException: [6,35]: mismatched input '@' expecting ':'
   [6,40]: mismatched input '(' expecting {'end', '[', ';', '.', '=', '<', '@', IDENTIFIER}
   [6,75]: mismatched input 'extends' expecting ':'
   [0,0]: Parser returned a null Package
   
   
   	at org.drools.traits.compiler.factmodel.traits.LegacyTraitTest.getSessionFromString(LegacyTraitTest.java:80)
   	at org.drools.traits.compiler.factmodel.traits.LegacyTraitTest.traitWithPojoInterface(LegacyTraitTest.java:205)
   ```
   


-- 
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: commits-unsubscribe@kie.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org


Re: [I] [new-parser] Elementary trait support is missing [incubator-kie-drools]

Posted by "yurloc (via GitHub)" <gi...@apache.org>.
yurloc commented on issue #5816:
URL: https://github.com/apache/incubator-kie-drools/issues/5816#issuecomment-2032610197

   `/take`


-- 
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: commits-unsubscribe@kie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org


Re: [I] [new-parser] Elementary trait support is missing [incubator-kie-drools]

Posted by "yurloc (via GitHub)" <gi...@apache.org>.
yurloc closed issue #5816: [new-parser] Elementary trait support is missing
URL: https://github.com/apache/incubator-kie-drools/issues/5816


-- 
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: commits-unsubscribe@kie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org