[
https://issues.apache.org/jira/browse/NLPCRAFT-284?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17308418#comment-17308418
]
Aaron Radzinski commented on NLPCRAFT-284:
------------------------------------------
The issue is that compiler only deals with IDL and not aware of the outside
context (like JSON or YAML file). If you move intents into separate *.idl file
- then line and number indication will be correct.
Can be closed.
> IDL syntax error shows incorrect line/column
> --------------------------------------------
>
> Key: NLPCRAFT-284
> URL: https://issues.apache.org/jira/browse/NLPCRAFT-284
> Project: NLPCraft
> Issue Type: Bug
> Reporter: Gleb
> Priority: Major
>
>
> {noformat}
> +-+ IDL syntax error in 'minecraft.yaml' at line 1:8 - missing '{' at '('.
> |-- Model ID: nlpcraft.minecraft.ex
> |-- Model origin: minecraft.yaml
> |-- Intent origin: minecraft.yaml
> |-- --------------
> |-- Line: [player](id == 'mc:player')
> +-- Position: -------^------------------- -> (NCIdlCompiler.scala:577)
> {noformat}
> Correct is 135:30
> To reproduce run probe at commit *f70b51e0*
--
This message was sent by Atlassian Jira
(v8.3.4#803005)