The GitHub Actions job "CI" on 
grails-core.git/fix/databinding-raw-collection-8.0.x has failed.
Run started by GitHub user codeconsole (triggered by codeconsole).

Head commit for run:
f4088648f07cf64cf095d427aa4bb934ba7450ea / Scott Murphy Heiberg 
<[email protected]>
Declare the type of the list being bound

listValue is assigned from two branches and read a few lines later, and being
declared def left its element type to inference. IntelliJ gives up and reports
the item as `?`, which makes item.getClass() in the loop below look unresolved
even though it compiles.

Declaring it List answers that where the value is introduced, rather than
casting at the point of use — the array and Map branches ask the same question
of their items with no cast, and matching them is the point of this change.

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

With regards,
GitHub Actions via GitBox

Reply via email to