After playing around a bit, I have discovered, that the problem is directly connected to the "Esprima Mangle" option in the Web IDE: If I disable that option, code is transferred correctly.
Could it be that shortening variable names does not handle class definitions correctly?
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
After playing around a bit, I have discovered, that the problem is directly connected to the "Esprima Mangle" option in the Web IDE: If I disable that option, code is transferred correctly.
Could it be that shortening variable names does not handle class definitions correctly?