question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

The auto-updated csharp language has an issue with OnigScanner

See original GitHub issue

https://github.com/shikijs/shiki/pull/218/checks?check_run_id=3497151928#step:10:10

  ● validates all languages can show a hello-world › csharp

    105,110,118,97,108,105,100,32,112,97,116,116,101,114,110,32,105,110,32,108,111,111,107,45,98,101,104,105,110,100
     |     let result = grammar.tokenizeLine2(line, ruleStack)
     |     let tokensLength = result.tokens.length / 2
     |     for (let j = 0; j < tokensLength; j++) {

      at OnigScanner.findNextMatchSync (node_modules/onigasm/src/OnigScanner.ts:129:27)
      at node_modules/vscode-textmate/release/webpack:/vscodetextmate/out/grammar.js:586:26
      at lineTokens (node_modules/vscode-textmate/release/webpack:/vscodetextmate/out/grammar.js:537:5)
      at f (node_modules/vscode-textmate/release/webpack:/vscodetextmate/out/grammar.js:706:13)

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:2
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
zoubingwucommented, Oct 11, 2021

May I ask when will there be a 0.9.12 release? my current blog build is broken with csharp code 😢

0reactions
ortacommented, Oct 12, 2021

thanks for the ping, I missed that PR

Read more comments on GitHub >

github_iconTop Results From Across the Web

C# language versioning - C# Guide | Microsoft Learn
Under the Build tab, the Advanced pane displays the version selected. To know what language version you're currently using, put #error version ( ......
Read more >
C# Language Design - GitHub
The official repo for the design of the C# programming language - GitHub - dotnet/csharplang: ... We have a few different milestones for...
Read more >
C Sharp (programming language) - Wikipedia
C# (pronounced see sharp) is a general-purpose, high-level multi-paradigm programming language. C# encompasses static typing, strong typing, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found