1 2 3 4 5 6
# issue #22699 type Private = distinct int proc chop*[T](x: int): int = cast[int](cast[tuple[field: Private]](x))