I'm using a bundle that runs a node process on save to run eslint, but now I've found a strange case where a certain piece of invalid javascript causes TextMate to crash.

From what I understand from the crashlog there's something going wrong in JavaScriptCore, which causes TM to crash. (crashlog "Anonymous UUID"   A6388CF6-BEC3-74D3-1176-D1710B8004B0 (is this usable?))

I can imagine that even when a subprocess fails, TM should not crash?

The particular bundle is my modified version of the javascript-eslint bundle <https://github.com/koenpunt/javascript-eslint.tmbundle/tree/js/>. The problematic code is (and can be used to reproduce the crash):

switch (true) {
case 'background':

– Koen

Sent from Mailspring, the best free email app for work