You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "James Kleeh (Jira)" <ji...@apache.org> on 2021/03/02 18:08:00 UTC
[jira] [Created] (GROOVY-9962) Stub generation malforms annotation
values
James Kleeh created GROOVY-9962:
-----------------------------------
Summary: Stub generation malforms annotation values
Key: GROOVY-9962
URL: https://issues.apache.org/jira/browse/GROOVY-9962
Project: Groovy
Issue Type: Bug
Components: Stub generator / Joint compiler
Affects Versions: 3.0.7
Reporter: James Kleeh
This issue was introduced by https://issues.apache.org/jira/browse/GROOVY-6085 and the fix [https://github.com/apache/groovy/commit/561fad780794a5ac6be81818d2f123496e6c9bad#diff-fb5c7aed8d75294b5fbca45b00da5e20968d33704cb81720503ee3601df30fecR732]
That commit replaces `$` with `.` in annotation values, however it seems that should only happen if the value is a class expression. For things like string literals it is changing the string value which is causing other problems.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)