davsclaus opened a new pull request, #26367:
URL: https://github.com/apache/camel/pull/26367
The Simple parser's messages named what was wrong and never what to write.
`SimpleSyntaxHints` adds to the parser's own message: the function meant for a
misspelling or a plain word (`${body.size}` for `${size}`), operators outside
the function (`${body} contains 'x'` for `${body contains 'x'}`), text outside
`${...}` is a literal (`${body} contains 'x'` for `body contains 'x'`), no
arithmetic in Simple, the language name used as a function (`${simple}`), an
exchange OGNL guard, the `?method=` and `::` forms of the bean function, a Map
key.
Tests: `SimpleSyntaxHintsTest` (12), `NoSuchLanguageTest`, `SimpleTest`
(203), `SimpleOperatorTest`, the parser invalid tests, `FileLanguageTest`,
`BacklogDebuggerTest`. 20 files.
Found while benchmarking a local model against the Camel MCP server
(CAMEL-24698); the run-by-run history stays on a local bench branch.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_01Bp3538HRBPMQkb5ta9xRaj
--
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]