From 98e76be94fdd8efaafd822c420170569421260bf Mon Sep 17 00:00:00 2001 From: Mike Gerwitz Date: Wed, 27 May 2015 23:22:40 -0400 Subject: [PATCH] Implementation note on this.__super scope with private method calls --- doc/classes.texi | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/doc/classes.texi b/doc/classes.texi index c2ddb58..7f5c28b 100644 --- a/doc/classes.texi +++ b/doc/classes.texi @@ -1,5 +1,5 @@ @c This document is part of the GNU ease.js manual. -@c Copyright (C) 2011, 2012, 2013, 2014 Free Software Foundation, Inc. +@c Copyright (C) 2011, 2012, 2013, 2014, 2015 Free Software Foundation, Inc. @c Permission is granted to copy, distribute and/or modify this document @c under the terms of the GNU Free Documentation License, Version 1.3 or @c any later version published by the Free Software Foundation; with no @@ -539,7 +539,11 @@ The argument count of method @var{dfn\_n\^C'} must be >= the argument count of method @var{dfn\_n\^C} to permit polymorphism. @item A reference to super method @var{dfn\_n\^C} will be preserved and assigned -to @samp{this.__super} within context of method @var{dfn\_n\^C'}. +to @samp{this.__super} within context of method +@var{dfn\_n\^C'}.@footnote{Due to an @ref{Method +Wrapping,,implementation detail}, @samp{this.__super} may remain in +scope after invoking a private method; this behavior is undefined and +should not be relied on.} @item A method is said to be @dfn{concrete} when it provides a definition and @dfn{abstract} when it provides only a declaration