Ruby syntax errors on valid syntax



In the latest Ruby (and I’m not sure how far before) you can use ** for Hashes in much the same way you can use * (splat) for Arrays. However, while this code runs, the syntax checker built into Ace shows an error on that: Unexpected tPOW.

Also, under circumstances I haven’t quite figured out yet, it’s also not recognizing the pattern 'symbol with space': for use in hashes (for symbol keys with spaces) as a valid thing. It’s saying that there’s an invalid :.