#random question from a newbie

1 messages · Page 1 of 1 (latest)

tranquil falcon
#

what error are you encountering that would prompt this question?

#

foo.bar() where fn bar(self: anytype) T {} will be equivalent to Foo.bar(&foo)

#

so whether or not self is a constant pointer or not in that context would depend on whether foo was declared as const or var

trail wraith
#

I'm just idiot