jdaugherty opened a new issue, #397:
URL: https://github.com/apache/grails-intellij-plugin/issues/397

   For Groovy / Grails:
   
   Good code will be reported with a warning (Method call is ambiguous), or 
with an error if @CompileStatic is used on the method.
   
   This was originally fixed in this issue 
<https://youtrack.jetbrains.com/issue/IDEA-218748/Ambiguous-method-call-with-Groovy-Grails>
 but it has re-emerged (see the latest comments on the issue).
   
   The code is:
   
   ```groovy
   import groovy.transform.CompileStatic
   
   class FooController {
       def bar() {
           render(test: 'ok')
       }
   
       @CompileStatic
       def baz() {
           render test: 'ok'
       }
   }
   ```
   Using grails grailsVersion=5.3.6
   
   IntelliJ Ultimate Edition Build #IU-241.14494.240, built on March 28, 202
   
   ---
   
   *Imported from 
[IDEA-354989](https://youtrack.jetbrains.com/issue/IDEA-354989) · Type: Bug · 
Votes: 24*
   *Comments, attachments, dates and reporter are not part of the export — 
follow the link above for the full history.*
   


-- 
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]

Reply via email to