danielgtaylor / nesh

An enhanced, extensible interactive shell for Node.js and CoffeeScript
http://danielgtaylor.github.io/nesh/
MIT License
288 stars 27 forks source link

nesh crashes when tab completing at certain place #52

Open robturtle opened 8 years ago

robturtle commented 8 years ago

It's always reproducible on my machine. I tried to reproduce it with other code but failed. Currently the exact reproducible code is:

function construct(f) {
let newObject = Object.create(f.prototype);
newO

The nesh will crash when you press tab key right after the "newO". Here's the screenshot:

image