OOlib
OOlib copied to clipboard
`self: var T`
class Dollar(distinct int):
proc `+=`(other: Dollar) {.varType.} =
self = self + other
is converted to
type Dollar = distinct int
proc `+=`(self: var Dollar, other: Dollar) =
self = self + other