by grownseed · 10y ago · 0 comments
I did notice one annoying bug, as I change and break the code sometimes, the editor just stops working and it's hard to tell what's happening (the loading indicator just stays there). Opening the dev tools, it appears you're not catching all errors when your parser (peg.js) fails.
SyntaxError: Expected ":" or [^\t\n\r :;[\]] but "\n" found.↵ at peg$buildStructuredError (https://code2flow.com/worker-flow.js:2:12222)↵ at Object.peg$parse [as parse] (https://code2flow.com/worker-flow.js:5:1413)↵ at exports.FlowWorker.onUpdate (https://code2flow.com/worker-flow.js:5:4410)↵ at callback (https://code2flow.com/worker-flow.js:2:8619)"No comments yet.