tmust_borrow_from_first_parameter.nim 176 B

12345678910
  1. discard """
  2. errormsg: "'result' must borrow from the first parameter"
  3. line: 9
  4. """
  5. {.experimental: "views".}
  6. proc p(a, b: openArray[char]): openArray[char] =
  7. result = b