jlongster / es6-macros

A collection of sweet.js macros that implement ES6 features for ES5
BSD 2-Clause "Simplified" License
238 stars 18 forks source link

[mkSyntax] You must provide an old syntax object context (or null) when creating a new syntax object. #2

Closed ryanseddon closed 10 years ago

ryanseddon commented 10 years ago

When I run make I keep getting this error

[mkSyntax] You must provide an old syntax object context (or null) when creating a new syntax object.

screen shot 2014-02-16 at 06 05 42

disnet commented 10 years ago

This is happening here (possibly elsewhere too). As of sweet.js v0.4.0 you must include the lexical context argument when using makeValue, makeIdent, etc..

jlongster commented 10 years ago

I just updated everything to work with the latest sweet.js version. A few other big changes had to be made. Should work now!

jlongster commented 10 years ago

Worth noting that things won't work until https://github.com/mozilla/sweet.js/pull/270 is merged. Should happen quickly though.