tweakopenarray.nim 147 B

12345678910111213
  1. # bug #4089
  2. type
  3. Proc = proc(args: openArray[Bar]): Bar
  4. Foo = object
  5. p: Proc
  6. Bar = object
  7. f: Foo
  8. proc bar(val: Foo): Bar = Bar()