================================================================================
Case with spread
================================================================================

pub fn main() {
  case xs {
    [[]] -> io.println("one")
    [[], ..] -> io.println("many")
  }
}

--------------------------------------------------------------------------------

(source_file
  (function
    (visibility_modifier)
    (identifier)
    (function_parameters)
    (function_body
      (case
        (case_subjects
          (identifier))
        (case_clauses
          (case_clause
            (case_clause_patterns
              (case_clause_pattern
                (list_pattern
                  (list_pattern))))
            (function_call
              (field_access
                (identifier)
                (label))
              (arguments
                (argument
                  (string
                    (quoted_content))))))
          (case_clause
            (case_clause_patterns
              (case_clause_pattern
                (list_pattern
                  (list_pattern)
                  (list_pattern_tail))))
            (function_call
              (field_access
                (identifier)
                (label))
              (arguments
                (argument
                  (string
                    (quoted_content)))))))))))
