atom-language icon indicating copy to clipboard operation
atom-language copied to clipboard

Quotes inside infix declaration breaks highlights for file

Open zoffixznet opened this issue 7 years ago • 0 comments

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]

untitled

Leave this in. For internal use.

  • [ ] Fixed in Master
  • [ ] Fixed in Release
  • [ ] Has Tests
  • [ ] Passes Tests

zoffixznet avatar Feb 06 '18 10:02 zoffixznet