Skip to content

[BUG] Syntax highlight error when using interface in System Verilog port declaration #508

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

Open
RasmusGOlsen opened this issue Nov 25, 2024 · 1 comment
Labels

Comments

@RasmusGOlsen
Copy link

Describe the bug
The interface is highlighted as an error in the following code snippet.

module a (
    input  logic                  clk,
    interface                     intf,
    input logic [intf.WIDTH-1:0]  din
);

endmodule: a

Environment (please complete the following information):

  • OS: Ubuntu 22.04
  • VS Code version 1.95.3
  • Extension version 1.15.5
  • color theme Dark Modern

Steps to reproduce
Steps to reproduce the behavior:

  1. Copy and Paste code snippet into VSCode
  2. Select System Verilog as language mode

Expected behavior
The syntax is valid System Verilog and should not highlight an error.

Actual behavior
image

@sakgoyal
Copy link

any progress on this? I am having similar issues with the highlighting being weird. restarting the extension host will sometimes fix it. but opening vscode from scratch does not. im guessing it has something to do with many of the functions being deprecated in the extension. so its having race conditions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants