NicolasPetton/amber — Issue #102: Subclassing a New Class
Author: joelturnbull
Created: 2011-11-15 02:51:29+00:00
State: open

If I create a new class, and change existing classes to subclass that new class, load fails on page refresh. Console says:

Uncaught TypeError: Object [object Object] has no method '_initialize'

The fix for me has been to edit the .st file and to move the superclass code above the code for the classes that subclass it, and recompile with amberc.