Hello, here, when I upgrade to Grails 7.0.0, I ha...
# questions
g
Hello, here, when I upgrade to Grails 7.0.0, I had code as
Copy code
grailsApplication['config']['my.default.property']
This code stopped working and groovy compiler throws out an error:
Copy code
BUG! exception in phase 'class generation' in source unit '/Users/xxx/work/base_folder/DashboardController.groovy' At line -1 column -1
  On receiver: this.getGrailsApplication() with message: getAt and arguments: config
  This method should not have been called. Please try to create a simple example reproducing this error and file a bug report at <https://issues.apache.org/jira/browse/GROOVY>
This is the code annotated with @GrailsCompileStatic, I still want to keep the @@GrailsCompileStatic, what would be an practical fix for this? Thanks