danielgtaylor / danielgtaylor/nesh
nesh crashes when tab completing at certain place
- Dominant language
- CoffeeScript
- Stars
- 284
- Forks
- 23
- PR merge metrics
- No merged PRs in 30d
Description
It's always reproducible on my machine. I tried to reproduce it with other code but failed. Currently the exact reproducible code is:
```javascript
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:

Contributor guide
No contributing guide indexed for this repository
Research direction
Run nesh with the JavaScript snippet from the issue and press Tab immediately after "newO" to confirm the crash. Then trace the tab-completion entry point and reproduce the case in a regression test; done means completion no longer crashes at that position.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- coffeescript, javascript, node.js
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 40/100