HI Erik

Got following scenario:

    public function TestClass()
    {
       super();
    }

JSGoogEmiter produces following javascript ->

/**
* @constructor
*/
TestClass = function() {
  var self = this;
  goog.base(this);
};

.. which produces a google closure error ->

ERROR - incorrect use of goog.base: Could not find goog.inherits for base class

So I'm looking for a way where goog.base is only written if TestClass
has a superClass and I found the implementation for the output in
emitMethod... don't want to offend you.. but with all those conditions
in this method I'm a little confused .. can't we somehow seperate
method and constructor case?

Cyrill

Reply via email to