On Monday, 15 May 2023 at 10:47:51 UTC, Guillaume Piolat wrote: > Seems hard to predict what the compiler will do. What if the > variable has same value as another case? >> If two case expressions share a value, the first case >> statement with that value gets control.