We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
setter
getter
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
The text was updated successfully, but these errors were encountered:
glassesneo
No branches or pull requests
convert to below
The text was updated successfully, but these errors were encountered: