Guest User

Untitled

a guest
Oct 5th, 2019
120
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. type
  2.     Trip = ref object
  3.         id: string
  4.         departure_time: string
  5.         service_ids: Option[seq[string]]
  6.         arrival_time: string
  7.         trace_points: seq[int]
  8.         sub_trip_index: Option[int]
  9.         user_id: Option[string]
  10.         sub_trips: Option[seq[Trip]]
  11.  
  12. /Users/benny/Downloads/Shani - check YIT - hebrew alt/Route.nim(155, 30) template/generic instantiation of `to` from here /Users/benny/.choosenim/toolchains/nim-1.0.0/lib/pure/json.nim(1103, 27) Error: The `to` macro does not support ref objects with cycles.
RAW Paste Data