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

requires without () gets incorrectly highlighted #663

Open
1 task done
EienMiku opened this issue Nov 14, 2024 · 0 comments
Open
1 task done

requires without () gets incorrectly highlighted #663

EienMiku opened this issue Nov 14, 2024 · 0 comments

Comments

@EienMiku
Copy link

EienMiku commented Nov 14, 2024

Checklist

  • This problem exists even with the setting "C_Cpp.enhancedColorization": "Disabled"

The code with a problem is:

template <class type>
    requires std::is_array_v<type>
void f();

It looks like:

image
image
requires is now recognized as a variable

It should look like:

未标题-1
requires should be highlighted same as template or other key words

@EienMiku EienMiku changed the title requires before ( gets incorrectly highlighted requires without () gets incorrectly highlighted Nov 18, 2024
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