You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Eric Milles (Jira)" <ji...@apache.org> on 2022/11/21 23:29:00 UTC

[jira] [Commented] (GROOVY-8502) Stricter checks required for AST transformations creating methods/constructors

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

Eric Milles commented on GROOVY-8502:
-------------------------------------

[~paulk] I added a warning in {{Verifier}} for default-argument generated constructor(s).  Are there other cases to cover?

> Stricter checks required for AST transformations creating methods/constructors
> ------------------------------------------------------------------------------
>
>                 Key: GROOVY-8502
>                 URL: https://issues.apache.org/jira/browse/GROOVY-8502
>             Project: Groovy
>          Issue Type: Task
>            Reporter: Paul King
>            Priority: Major
>
> AST transforms like TupleConstructor now have a more relaxed approach to checking for existing constructors - effectively ignoring @Generated ones. We should make sure that two identical ones aren't added and give a nicer message - rather than the error we currently get about duplicate signatures..



--
This message was sent by Atlassian Jira
(v8.20.10#820010)