This coffee script:
describe "test", () ->
x = [
1, 2
] # <-- A space at the beginning of this line
describe "innerTest", () ->
"Wrong indentation"
(note the extra space before ])
compiles to:
describe("test", function() {
var x;
return x = [1, 2];
});
describe("innerTest", function() {
return "Wrong indentation";
});
This only happens with exactly one space. Two spaces pass just fine, and more result in a syntax error.