You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The attached Zed ciphers.txt includes a very wide line which I assume is the essential ingredient in this repro. As shown in the attached video, when I paste it into the editor, a large stack dump appears.
Repro.mp4
A paste of that same dump:
Unhandled Runtime Error
Error: zed: @brackets token returned but no bracket defined as: )]
Error: zed: @brackets token returned but no bracket defined as: )]
at Object.b [as createError] (app-asset://zui/node_modules/monaco-editor/min/vs/editor/editor.main.js:110:23371)
at p._myTokenize (app-asset://zui/node_modules/monaco-editor/min/vs/editor/editor.main.js:601:3828)
at p._tokenize (app-asset://zui/node_modules/monaco-editor/min/vs/editor/editor.main.js:600:53628)
at p.tokenizeEncoded (app-asset://zui/node_modules/monaco-editor/min/vs/editor/editor.main.js:600:53502)
at c (app-asset://zui/node_modules/monaco-editor/min/vs/editor/editor.main.js:595:116459)
at t.updateTokensUntilLine (app-asset://zui/node_modules/monaco-editor/min/vs/editor/editor.main.js:595:111127)
at d._tokenizeOneInvalidLine (app-asset://zui/node_modules/monaco-editor/min/vs/editor/editor.main.js:595:118031)
at d._backgroundTokenizeForAtLeast1ms (app-asset://zui/node_modules/monaco-editor/min/vs/editor/editor.main.js:595:117608)
at h (app-asset://zui/node_modules/monaco-editor/min/vs/editor/editor.main.js:595:117306)
at d._backgroundTokenizeWithDeadline (app-asset://zui/node_modules/monaco-editor/min/vs/editor/editor.main.js:595:117413)
at app-asset://zui/node_modules/monaco-editor/min/vs/editor/editor.main.js:595:117072
Call Stack
Object.b [as createError]
app-asset://zui/node_modules/monaco-editor/min/vs/editor/editor.main.js (110:23371)
p._myTokenize
app-asset://zui/node_modules/monaco-editor/min/vs/editor/editor.main.js (601:3828)
p._tokenize
app-asset://zui/node_modules/monaco-editor/min/vs/editor/editor.main.js (600:53628)
p.tokenizeEncoded
app-asset://zui/node_modules/monaco-editor/min/vs/editor/editor.main.js (600:53502)
c
app-asset://zui/node_modules/monaco-editor/min/vs/editor/editor.main.js (595:116459)
t.updateTokensUntilLine
app-asset://zui/node_modules/monaco-editor/min/vs/editor/editor.main.js (595:111127)
d._tokenizeOneInvalidLine
app-asset://zui/node_modules/monaco-editor/min/vs/editor/editor.main.js (595:118031)
d._backgroundTokenizeForAtLeast1ms
app-asset://zui/node_modules/monaco-editor/min/vs/editor/editor.main.js (595:117608)
h
app-asset://zui/node_modules/monaco-editor/min/vs/editor/editor.main.js (595:117306)
d._backgroundTokenizeWithDeadline
app-asset://zui/node_modules/monaco-editor/min/vs/editor/editor.main.js (595:117413)
<unknown>
app-asset://zui/node_modules/monaco-editor/min/vs/editor/editor.main.js (595:117072)
<unknown>
app-asset://zui/node_modules/monaco-editor/min/vs/editor/editor.main.js (9:12)
As far as I can tell the program still made it in ok, and I also checked on the GA Zui v1.7.0 release and the error only shows up in DevTools. Therefore this may not be urgent to address since it may not be user-impacting.
The text was updated successfully, but these errors were encountered:
Repro is with Zui commit f1aef59.
The attached Zed ciphers.txt includes a very wide line which I assume is the essential ingredient in this repro. As shown in the attached video, when I paste it into the editor, a large stack dump appears.
Repro.mp4
A paste of that same dump:
As far as I can tell the program still made it in ok, and I also checked on the GA Zui
v1.7.0
release and the error only shows up in DevTools. Therefore this may not be urgent to address since it may not be user-impacting.The text was updated successfully, but these errors were encountered: