Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Uncaught TypeError when tab-completing constructor in REPL #6181

Copy link
Copy link
@benkogan

Description

@benkogan
Issue body actions
  • Version: v5.7.0
  • Platform: Mac OS X 10.10.4
  • Subsystem: REPL

The repl throws an uncaught error when trying to tab-complete the constructor keyword:

> class Foo {
... construcrepl.js:292
    top.outputStream.write((e.stack || e) + '\n');
       ^

TypeError: Cannot read property 'outputStream' of undefined
    at Domain.<anonymous> (repl.js:292:8)
    at emitOne (events.js:90:13)
    at Domain.emit (events.js:182:7)
    at emitError (domain.js:66:24)
    at Domain.errorHandler [as _errorHandler] (domain.js:110:18)
    at process._fatalException (node.js:255:33)

Metadata

Metadata

Assignees

No one assigned

    Labels

    replIssues and PRs related to the REPL subsystem.Issues and PRs related to the REPL subsystem.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.