Closed glassesneo closed 3 months ago
class pub A: var a*: int proc a*(value: int) {.setter.} = self.a = value
convert to below
type A* = ref object a: int proc a*(self: A): int = self.a proc `a=`*(self: A, value: int) = self.a = value
convert to below