atom-language
atom-language copied to clipboard
Quotes inside infix declaration breaks highlights for file
Code after ["\c[MINUS-OR-PLUS SIGN]"]
is highlighted-broken. Adding another quote in comments unbreaks it.
Example Code
{
sub prefix:["\c[MINUS-OR-PLUS SIGN]"] ($thing) { return "AROUND$thing"; };
is ∓ "fish", "AROUNDfish", 'prefix operator overloading for new operator (unicode, \c[MINUS-OR-PLUS SIGN])'; # "
}
{
my sub prefix:<->($thing) { return "CROSS$thing"; };
is(-"fish", "CROSSfish",
'prefix operator overloading for existing operator');
}
Picture [optional]
Leave this in. For internal use.
- [ ] Fixed in Master
- [ ] Fixed in Release
- [ ] Has Tests
- [ ] Passes Tests