Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Renaming local variable in Javascript crashes with "Maximum call stack size exceeded" #1991

Closed
AndrewRayCode opened this issue Jan 13, 2016 · 2 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug *duplicate Issue identified as a duplicate of another issue(s) javascript JavaScript support issues

Comments

@AndrewRayCode
Copy link

See this handy gif:

visual-studio-fail

Here's a snippy snip of the last line of the developer console:

RangeError: Maximum call stack size exceeded: RangeError: Maximum call stack size exceeded
    at o (typescriptServices.js:10)
    at n (typescriptServices.js:10)
    at r (typescriptServices.js:10)
    at o (typescriptServices.js:10)
    at n (typescriptServices.js:10)
    at r (typescriptServices.js:10)
    at o (typescriptServices.js:10)
    at n (typescriptServices.js:10)
    at r (typescriptServices.js:10)
    at o (typescriptServices.js:10)e.doShow @ workbench.main.js:63
workbench.main.js:16 Main Thread sent to worker the following message:e._onError @ workbench.main.js:16e._onmessage @ workbench.main.js:16e._onSerializedMessage @ workbench.main.js:16(anonymous function) @ workbench.main.js:16worker.onmessage @ workbench.main.js:19
workbench.main.js:16 Object {type: "threadService", payload: Array[3]}
workbench.main.js:16 And the worker replied with an error:e._onError @ workbench.main.js:16e._onmessage @ workbench.main.js:16e._onSerializedMessage @ workbench.main.js:16(anonymous function) @ workbench.main.js:16worker.onmessage @ workbench.main.js:19
workbench.main.js:16 Object {stack: "RangeError: Maximum call stack size exceeded↵    a…ript/common/js/importAndExportRewriter.js:4:3903)", message: "RangeError: Maximum call stack size exceeded"}
workbench.main.js:91 RangeError: Maximum call stack size exceeded: RangeError: Maximum call stack size exceeded
    at importAndExportRewriter.js:4
    at r (typescriptServices.js:10)
    at Object.o [as forEachChild] (typescriptServices.js:10)
    at e._visitNode (importAndExportRewriter.js:4)
    at e.visitBinaryExpression (importAndExportRewriter.js:4)
    at importAndExportRewriter.js:4
    at r (typescriptServices.js:10)
    at Object.o [as forEachChild] (typescriptServices.js:10)
    at e._visitNode (importAndExportRewriter.js:4)
    at e.visitBinaryExpression (importAndExportRewriter.js:4)

...?

@isidorn isidorn added bug Issue identified by VS Code Team member as probable bug javascript JavaScript support issues labels Jan 14, 2016
@egamma egamma assigned egamma and unassigned jrieken Jan 18, 2016
@egamma
Copy link
Member

egamma commented Jan 18, 2016

Can you attach the single file that produces the error?

@egamma
Copy link
Member

egamma commented Jan 20, 2016

Closing as duplicate of #2054

@egamma egamma closed this as completed Jan 20, 2016
@bpasero bpasero added the *duplicate Issue identified as a duplicate of another issue(s) label Jul 1, 2016
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug *duplicate Issue identified as a duplicate of another issue(s) javascript JavaScript support issues
Projects
None yet
Development

No branches or pull requests

5 participants