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

Perl Syntax Highligting: Multi-line Logical Defined-Or operator corrupts highlighting for rest of file #150040

Closed
perilstar opened this issue May 20, 2022 · 2 comments
Assignees
Labels
grammar Syntax highlighting grammar upstream-issue-linked This is an upstream issue that has been reported upstream

Comments

@perilstar
Copy link

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: 1.67.2
  • OS Version: Windows 11

Steps to Reproduce:

  1. Create a file with the extension .pl
  2. Paste in the following code:
#!/usr/bin/perl

use feature 'say';

my $abc;
$abc //= 1;
# This bit looks right
say "\%abc: $abc";

my $xyz;
$xyz
  //= 1;
# This is coloured incorrectly
say "\%xyz: $xyz";
@perilstar
Copy link
Author

Wow, it seems to be an issue in GitHub markdown highlighting too.

@mjbvz mjbvz assigned alexr00 and unassigned mjbvz May 20, 2022
@alexr00
Copy link
Member

alexr00 commented May 30, 2022

Upstream issue: textmate/perl.tmbundle#29

@alexr00 alexr00 closed this as completed May 30, 2022
@alexr00 alexr00 added grammar Syntax highlighting grammar upstream-issue-linked This is an upstream issue that has been reported upstream labels May 30, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Jul 14, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
grammar Syntax highlighting grammar upstream-issue-linked This is an upstream issue that has been reported upstream
Projects
None yet
Development

No branches or pull requests

4 participants