tnamedparams2.nim 291 B

12345678910111213141516
  1. import pegs
  2. discard parsePeg(
  3. pattern = "input",
  4. filename = "filename",
  5. line = 1,
  6. col = 23)
  7. # bug #12196
  8. type
  9. Renderer = object
  10. var xs0, x0, xs1, x1: int
  11. proc init(xs=xs0; x=x0; renderer: Renderer; r: byte) = discard
  12. init(xs=xs1, x=x1, r=3, renderer=Renderer())