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

operator not highlighted in conversion operator definitions when conversion type is templated. #231

Closed
matter123 opened this issue Jun 9, 2019 · 3 comments
Labels
🐛 Bug Something isn't working

Comments

@matter123
Copy link
Collaborator

Example Code:

operator std::basic_string_view<CharT, Traits>() const noexcept {}

Example Image:
Screen Shot 2019-06-09 at 14 19 22

@matter123 matter123 added the 🐛 Bug Something isn't working label Jun 9, 2019
@matter123
Copy link
Collaborator Author

This probably needs to be resolved before contexts as the grammar thinks that std::basic_string_view is a function call, not a function definition. When contexts are fixed it will be unhighlighted as well.

@jeff-hykin
Copy link
Owner

Yeah this will be the first step after fixing the contexts. The operator overload pattern needs to be rewritten to 1. use the block finder 2. add support for C++ literals, and now also 3. fix this issue

@jeff-hykin
Copy link
Owner

Fixed just now v1.12.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants