The GitHub Actions job "Code Style" on 
grails-core.git/feature/groovy-dsl-configuration-metadata has failed.
Run started by GitHub user borinquenkid (triggered by borinquenkid).

Head commit for run:
6c3328e3df14532492e84afba1e5b3c300f2c236 / Walter Duque de Estrada 
<[email protected]>
Preserve the unconditional default when a branch overrides it

The prior fix collapsed same-name DSL entries pairwise, so it never
recovered an unconditional defaultValue once a conditional entry
merged in - it only kept a default when both sides of one pairwise
comparison agreed on it, which a conditional branch (deliberately
carrying no default) never does. That also had a latent 3+-entry
associativity problem: two genuinely conflicting unconditional
assignments could pass silently if a conditional entry for the same
name sat between them in source order.

Group all entries by name instead of folding pairwise. Validate
uniqueness among the unconditional entries specifically (order
independent), keep that single unconditional entry's defaultValue,
and union the type across every entry for the name - which also means
a branch that infers no type at all (e.g. `= null`) no longer blanks
out a type a sibling branch did infer.

Co-Authored-By: Claude Sonnet 5 <[email protected]>

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

With regards,
GitHub Actions via GitBox

Reply via email to