Xo is experimental. The source code is not public yet; it will be soon. Read the release notes
Menu · XO0169

Docs

XO0169: match or select arms separated by `,` instead of newlines

error · reported by the parser

match and select arms are separated by newlines, not commas, so arms read like statements. Remove the comma. See core 3.5.

Example

fn f(b: Bool) -> Int {
  match b {
    true => 1,
    false => 2
  }
}

Fix

fn f(b: Bool) -> Int {
  match b {
    true => 1
    false => 2
  }
}

Run xo explain XO0169 for this text in a terminal, or see section 10.6 of the specification.