Some of our code broke after the 1.78.0 update. I finally managed to pinpoint the issue. It looks like for some reason a grammar that is a disjunction needs the same order of parameters in the variant to be synthesized. Was this something that should not have compiled in 1.77 or is it something that broke in 78?
The following code works in 77 but not in 78:
https://godbolt.org/z/MKMezMTqq
After switching the order of the parameters in the X variant from B,A to A,B it works in both versions:
https://godbolt.org/z/6e6sMKTYW