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

   When editing a Controller, usage of **params** is always marked as needing 
to be cast when using **@GrailsCompileStatic** annotation on Controller class.
   
   Intellij believes that **params** is of type 
**org.codehaus.groovy.grails.web.servlet.mvc.GrailsParameterMap**, when in 
fact, it is of type **grails.web.servlet.mvc.GrailsParameterMap**
   
   Code example marked as needing to be cast:
   ```
          User u = new User(params)
          [. . .]
          u.properties = params
   ```
   Important note: class implementing **WebAttributes** traits are not affected 
by this bug
   
   This bug is annoying because Intellij is almost perfect for Grails 
development.
   
   Thanks for your support,
   Adrien
   
   ---
   
   *Imported from 
[IDEA-245842](https://youtrack.jetbrains.com/issue/IDEA-245842) · Type: Bug · 
Votes: 0*
   *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