template toLocation(result: var string; file: string | cstring; line: int; col: int)
template tupleObjectDollar[T: tuple | object](result: var string; x: T)