The GitHub Actions job "Licensing - RAT Report" on 
grails-core.git/feat/taglib-compile-time-index-8.0.x has failed.
Run started by GitHub user codeconsole (triggered by codeconsole).

Head commit for run:
32a939307455d7c00eb67843b96437b5b1bdd59a / Scott Murphy Heiberg 
<[email protected]>
Recognise a boolean getter as claiming a namespace name

Groovy reads a property from getX() and, when the return type is
boolean, from isX() as well. Only the first was checked, so a class
declaring boolean isG() had this.g treated as a tag library namespace
and calls on it rewritten, sending them to a tag library instead of the
property the author wrote.

Both forms now claim the name, with the isX form requiring a boolean
return type as Groovy does. TagCallShadowingSpec covers each getter
form and an inherited getter.

Also proves the resolution the previous commit exists to enable.
Generating an index from a tag library source, putting it on a compile
classpath and compiling a controller that calls that namespace shows
the call becoming an invocation, and shows it staying dynamic without
the index. The build wiring is asserted separately; what was missing
was evidence that the wiring is sufficient for the compiler to resolve
the call.

Report URL: https://github.com/apache/grails-core/actions/runs/31507462398

With regards,
GitHub Actions via GitBox

Reply via email to