joyent/node — Issue #2759: Node 0.7.4 crashes with --harmony flag
Author: pimvdb
Created: 2012-02-15 19:51:23+00:00
State: open

In node 0.7.4, running `node --harmony` fails because of a variable naming issue:

node.js:77
var module = new Module('eval');
^^^^^^
SyntaxError: Unexpected token module

Although harmony may still be in an experimental stage, I do think this issue might be worth looking at. It looks like `module` will be unavailable for use as a variable name.

Because of this issue, all harmony features are unavailable in node now.

It is most probably caused by [this V8 commit](https://github.com/v8/v8/commit/ae6d481c3de9633c7b6dd50d78358b82d180d905).