[
https://issues.apache.org/jira/browse/GROOVY-12425?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18116999#comment-18116999
]
ASF GitHub Bot commented on GROOVY-12425:
-----------------------------------------
testlens-app[bot] commented on PR #2944:
URL: https://github.com/apache/groovy/pull/2944#issuecomment-5740621325
## ✅ All tests passed ✅
🏷️ Commit: 0884b79b43c5988a88d5ab90fe74628752089add
▶️ Tests: 120251 executed
⚪️ Checks: 32/32 completed
---
_Learn more about TestLens at
[testlens.app/docs](https://testlens.app/docs/features/pr-comment/)._
> Refine error message for unclosed type argument
> -----------------------------------------------
>
> Key: GROOVY-12425
> URL: https://issues.apache.org/jira/browse/GROOVY-12425
> Project: Groovy
> Issue Type: Improvement
> Reporter: Daniel Sun
> Priority: Major
>
> The caret position is not accurate, column *13* should be better.
> {code}
> @Test
> void 'unclosed type argument'() {
> expectParseError '''\
> |List<Integer list2 = new ArrayList<Integer>()
> |'''.stripMargin(), '''\
> |Missing '>' @ line 1, column 1.
> | List<Integer list2 = new ArrayList<Integer>()
> | ^
> |
> |1 error
> |'''.stripMargin()
> }
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)