[ 
https://issues.apache.org/jira/browse/GROOVY-12425?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18117331#comment-18117331
 ] 

ASF GitHub Bot commented on GROOVY-12425:
-----------------------------------------

sonarqubecloud[bot] commented on PR #2944:
URL: https://github.com/apache/groovy/pull/2944#issuecomment-5751222009

   ## [![Quality Gate 
Failed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/qg-failed-20px.png
 'Quality Gate 
Failed')](https://sonarcloud.io/dashboard?id=apache_groovy&pullRequest=2944) 
**Quality Gate failed**  
   Failed conditions  
   
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/failed-16px.png
 '') [75.0% Coverage on New 
Code](https://sonarcloud.io/component_measures?id=apache_groovy&pullRequest=2944&metric=new_coverage&view=list)
 (required ≥ 80%)  
     
   <!

> 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 *14* 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)

Reply via email to