matrei commented on code in PR #15398:
URL: https://github.com/apache/grails-core/pull/15398#discussion_r2832280086
##########
grails-gsp/core/src/main/groovy/org/grails/gsp/compiler/GroovyPageParser.java:
##########
@@ -463,14 +463,11 @@ public void writeLineNumbers(File filename) throws
IOException {
}
private void declare(boolean gsp) {
- if (finalPass) {
- return;
- }
-
- out.println();
- write(scan.getToken().trim(), gsp);
Review Comment:
Tested with Grails 6.2.3:
<img width="903" height="868" alt="Screenshot_20260220_103505"
src="https://github.com/user-attachments/assets/71200529-659b-4ea4-a1dc-795fd20e6be9"
/>
--
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]