self icon indicating copy to clipboard operation
self copied to clipboard

Argument slots cannot be parent slots?

Open dram opened this issue 8 years ago • 1 comments

"3.1.6. Methods" says "an ordinary method always has an implicit parent argument slot named self", but "3.2.4. Parent slots" says "Argument slots cannot be parent slots."

Apparently there is conflict between them, then which one is correct?

dram avatar Oct 12 '16 01:10 dram

Well, argument slots generally can't be parent slots, except that an ordinary method always has an implicit parent argument slot named self. :)

russellallen avatar Oct 13 '16 02:10 russellallen