nesh icon indicating copy to clipboard operation
nesh copied to clipboard

nesh 1.3.0 overzealous REPL keyword parsing

Open dbkaplun opened this issue 12 years ago • 2 comments

nesh> __.chain([1, 2, 3]) \
...   .reduce(function (memo, state) {
Invalid REPL keyword
undefined
nesh> 

dbkaplun avatar Aug 18 '13 01:08 dbkaplun

Interesting... this also appears to be a problem in node itself and the default Node.js REPL. This works okay in both coffee and nesh -c when using multi-line mode (ctrl+v) so they seem to have a way to prevent the error, but it's certainly not obvious.

danielgtaylor avatar Aug 18 '13 21:08 danielgtaylor

Created upstream issue joyent/node#6070

dbkaplun avatar Aug 31 '13 22:08 dbkaplun