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

Error while updating #145

Closed
MikaelMayer opened this Issue Jan 16, 2019 · 1 comment

Comments

Projects
None yet
1 participant
@MikaelMayer
Copy link
Collaborator

MikaelMayer commented Jan 16, 2019

C:\Users\Mikael\AppData\Roaming\npm\node_modules\http-server-editor\node_modules\sketch-n-sketch\sns.js:576
throw new Error(
^

Error: Ran into a Debug.crash in module UpdateUtils on line 2109
The message provided by the code author is:

Expected only at most one modification at the end of a list, got (11,11,11,[(11,ListElemInsert 1)],[(11,ListElemInsert 1)])
at C:\Users\Mikael\AppData\Roaming\npm\node_modules\http-server-editor\node_modules\sketch-n-sketch\sns.js:576:9
at C:\Users\Mikael\AppData\Roaming\npm\node_modules\http-server-editor\node_modules\sketch-n-sketch\sns.js:54811:12
at C:\Users\Mikael\AppData\Roaming\npm\node_modules\http-server-editor\node_modules\sketch-n-sketch\sns.js:63:33
at A6 (C:\Users\Mikael\AppData\Roaming\npm\node_modules\http-server-editor\node_modules\sketch-n-sketch\sns.js:122:25)
at Function.func (C:\Users\Mikael\AppData\Roaming\npm\node_modules\http-server-editor\node_modules\sketch-n-sketch\sns.js:62332:20)
at A5 (C:\Users\Mikael\AppData\Roaming\npm\node_modules\http-server-editor\node_modules\sketch-n-sketch\sns.js:115:11)
at Function.func (C:\Users\Mikael\AppData\Roaming\npm\node_modules\http-server-editor\node_modules\sketch-n-sketch\sns.js:62607:25)
at A8 (C:\Users\Mikael\AppData\Roaming\npm\node_modules\http-server-editor\node_modules\sketch-n-sketch\sns.js:133:11)
at Function.func (C:\Users\Mikael\AppData\Roaming\npm\node_modules\http-server-editor\node_modules\sketch-n-sketch\sns.js:62767:10)
at A5 (C:\Users\Mikael\AppData\Roaming\npm\node_modules\http-server-editor\node_modules\sketch-n-sketch\sns.js:115:11)

@MikaelMayer MikaelMayer self-assigned this Jan 22, 2019

@MikaelMayer

This comment has been minimized.

Copy link
Collaborator Author

MikaelMayer commented Jan 22, 2019

Minimum reproducing example:

list = [1, 2, 3]

<span>@(toString <| list)<br>
@(toString <| list)<br>
@(toString <| list)
</span>

Add to the end of each occurrence of the list respectively 4, 5, 6. This reproduces the crash.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment