hegemonic / catharsis

A JavaScript parser for Google Closure Compiler and JSDoc type expressions.
MIT License
54 stars 14 forks source link

Unable to parse types that start with `function` #30

Closed hegemonic closed 10 years ago

hegemonic commented 10 years ago

When JSDoc support is enabled, Catharsis throws an error when it tries to parse the type expression functionWithCallback~callback:

Expected "!", "(", "=", "?", "[]" or "|" but "W" found.
hegemonic commented 10 years ago

Fixed on master.