[
https://issues.apache.org/jira/browse/NLPCRAFT-285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17308416#comment-17308416
]
Aaron Radzinski commented on NLPCRAFT-285:
------------------------------------------
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-285
> URL: https://issues.apache.org/jira/browse/NLPCRAFT-285
> Project: NLPCraft
> Issue Type: Bug
> Reporter: Gleb
> Assignee: Aaron Radzinski
> 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 one is 135:30
> To reproduce run probe at commit *f70b51e0*
--
This message was sent by Atlassian Jira
(v8.3.4#803005)