rainforestapp / decaf

Coffeescript to ES.next transpiler. Now maintained over at
https://github.com/juliankrispel/decaf
MIT License
106 stars 10 forks source link

Does not support '**' operator #138

Closed VilleMiekkoja closed 8 years ago

VilleMiekkoja commented 8 years ago

Hello,

The decaf module crashes if \ is used instead of pow:

node_modules\decafjs\node_modules\ast-types\lib\types.js:576 throw new Error( ^ Error: "**" does not match field "operator": == | != | === | !== | < | <= | > | >= | << | >> | >>> | + | - | * | / | % | & | | | ^ | in | instanceof | .. of type Bin aryExpression at add (node_modules\decafjs\node_modules\ast-types\lib\types.js:576:27)

It would be nice to have \ support too.

BR, Ville Miekk-oja

juliankrispel commented 8 years ago

thanks @VilleMiekkoja I'll have a look

juliankrispel commented 8 years ago

@VilleMiekkoja done thanks for reporting