Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quotes inside infix declaration breaks highlights for file #81

Open
4 tasks
zoffixznet opened this issue Feb 6, 2018 · 0 comments
Open
4 tasks

Quotes inside infix declaration breaks highlights for file #81

zoffixznet opened this issue Feb 6, 2018 · 0 comments

Comments

@zoffixznet
Copy link
Contributor

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 added a commit to Raku/roast that referenced this issue Feb 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant