Ryan Cavanaugh
Ryan Cavanaugh
This is an intentional affordance for functions like [Regex#replace](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/replace#specifying_a_function_as_the_replacement) or (throwback) AMD's `define` call. In practice any time you alias a function into a position with rest args, the number...
I could swear we discussed this on GitHub (not CodePlex) but I can't find it - very hard to search for
I will admit that I still don't fully understand the intent here. Flow advocates are always trumpeting soundness and then this happens ``` var x = 'hello' + 'world'; type...
Sorry for the tangent. I just mean, the index declaration *means* "If you index by a string, here's what you get", so it's contradictory to allow you to write property...
This did indeed change at some point
I think the most likely course of action is to deprecate the syntax in 6.0 with a compat flag for a little bit. A lint rule is probably the best...
Sorry for the confusing metadata on this one. We think we'll just hold off on erroring until 6.0, at which point it'll become parsed-with-an-error, then just quit parsing at 6.5
I'd need to understand how someone would be *unintentionally* writing `assert` in an `import` statement to prioritize those mitigations
The example is so sparse I can't tell at all what's going on. Where did `src` go / come from? Where are these files on disk, and why? Where did...
This is a tracking issue, so I'm locking this since I don't want a flood of "You should deprecate X" comments here. Post on the relevant thread for X instead,...