How old is the coffeescript compiler in atom?


When I execute this coffeescript code …

foo = ->
    i = 0
    yield i +1
    yield i +2

I get a compile error saying the word yield is reserved. But yield has been supported in coffeescript since version 1.9.0 which came out in January 2015. Surely Atom isn’t using a coffeescript compiler that is a year old.

How do I find the version of coffeescript in Atom? apm -v doesn’t have it.


atom /atom have this dependecy in package.json.
“coffee-script”: “1.8.0”,


I’ll put an issue on atom/atom.

Edit: See issue #9739.