senchalabs/jsduck — Issue #109: Crash when = followed by 'function'
Author: nene
Created: 2011-12-19 17:36:30+00:00
State: open

The following code takes JSDuck down:

/**
* Some function
*/
Ext.overrideIf = 'function' === typeof Ext.overrideIf ? Ext.overrideIf : function(origclass, overrides) {
};

lib/jsduck/js_literal_parser.rb:97:in `throw': uncaught throw `Expected: (' (NameError)