Quoting Erik de Bruin <e...@ixsoftware.nl>:
In GC, in combination with the way we set up inheritance, 'super()' is
'goog.base()': [1]
If called from the constructor - as we already implemented - 'this' is
the only argument.
If calling a super method, use 'goog.base(this, "methodName", args)'
EdB
1: http://closure-library.googlecode.com/svn/docs/closure_goog_base.js.html
Ok that makes sense, I'm guessing that if a class extends Object,
nothing is present correct?
What about a subclass that does not call super, does goog.base() still
need to be there?
Mike
On Fri, Dec 7, 2012 at 8:26 PM, Michael Schmalle
<apa...@teotigraphix.com> wrote:
After doing some more research, the super() implementation in general is a
rats nest that needs to be figured out.
Can someone give me the rules as to how super works with GC? If it's not
present etc, is super.myMethod() allowed?
Mike
--
Michael Schmalle - Teoti Graphix, LLC
http://www.teotigraphix.com
http://blog.teotigraphix.com