binder: Order of declarations is backward from source order in union type
discriminantPropertyCheck, discriminantsAndPrimitives
This is probably an intended or allowed difference that needs to be ignored by having both Strada and Corsa sort their symbol baseline declarations in source order.
Is there a repro? I'm pretty certain this is intended given the new type ordering.
The two compiler tests
- discriminantPropertyCheck
- discriminantsAndPrimitives
Probably one or both of Corsa and Strada need to be able to produce baselines in "compatibility mode" that does things like sorting baseline declarations (plus overlooking other diffs).
This is now fixed, given we diff against tsc that's also been modified for the union ordering.