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

improvement: Add null check in SemanticTokenProvider #4951

Merged
merged 1 commit into from Feb 8, 2023

Conversation

jkciesluk
Copy link
Member

Benchmarks for semantic tokens were broken because of some null symbols, now we replace them with NoSymbol.
It happened in #4867 (comment) while dropping Option

Also, changes how we use fallbackSymbol. Instead of creating Ident(sym) tree, we add parameter to collect

… symbol in PcCollector

Benchmarks for semantic tokens were broken because of some null symbols, now we filter them out.
Copy link
Contributor

@tgodzik tgodzik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@tgodzik tgodzik merged commit 88866fb into scalameta:main Feb 8, 2023
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

Successfully merging this pull request may close these issues.

None yet

2 participants