square
square
Would a simpler syntax for [flow comments](http://coffeescript.org/#type-annotations) achieve the goals of this discussion? I'm certain there's tooling to generate `.d.ts` files from those.
I lean in the same direction as Jeremy. To me TypeScript and CoffeeScript are contradictory and *must not be merged*. I get that one might want or need to have...
> Are you claiming that JSDoc comments ... are easier to read than the proposed syntax ... ? In fact I am. But this is primarily due to the visual...
I suggest usage of `private` keyword (already reserved) and stick with colons `:` for assignment. As for initializers, maybe double colon prefix `::`? ```coffee class Ex ::rand: -> Math.random() ::rand2:...
As i understand, it would transpile to a `WeakMap`. I.e. (pseudo code): ```coffee class Ex private abc: 123 eq: (x) -> x is @abc ``` being functionally equivalent to: ```coffee...
>So what does this PR do now? Show a hint about Ctrl-V once the user already presses Ctrl-V, to tell them to repeat the key combination to turn off multiline...
that's not a bug, that's expected behaviour how else would you make the value available outside the function without returning it
Here's another one: [#try](http://coffeescript.org/#try:pick%20%3D%20(cb)%20-%3E%20Reflect.apply%20cb%2C%20res%20%3D%20%7B%7D%2C%20%5B%5D%3B%20res%0A%0Aobj1%20%3D%20a%3A1%2C%20b%3A2%2C%20c%3A3%0Aobj2%20%3D%20pick%20-%3E%20%7B%20%40a%2C%20%40b%20%7D%20%3D%20obj1%0A%0Aalert%20JSON.stringify%20obj2) ```coffee pick = (cb) -> Reflect.apply cb, res = {}, []; res obj1 = a:1, b:2, c:3 obj2 = pick -> { @a, @b } =...
> The expression `{a, b} = obj1` evaluates to ` obj1`. This is in alignment with JS' destructuring assignment and as such will unlikely change.
Found one scenario where you get invalid line numbers. #5333 when using `--transpile`. The js file still gets written to disk and the line numbers don't even align with that....