Skip to content

Don't generate references for built-in operators#45125

Merged
3 commits merged intodotnet:masterfrom
jasonmalinowski:do-not-generate-references-for-built-in-operators
Jun 15, 2020
Merged

Don't generate references for built-in operators#45125
3 commits merged intodotnet:masterfrom
jasonmalinowski:do-not-generate-references-for-built-in-operators

Conversation

@jasonmalinowski
Copy link
Member

Since we didn't have a moniker for built-in operators, we were confusing LSIF importing tools that weren't sure what to do here. They would make up a moniker based on the first use, but that's not stable across different runs.

We could make up a moniker here, but it's not clear if finding references for all uses of + in a project is really terribly useful.

@jasonmalinowski jasonmalinowski requested a review from a team as a code owner June 12, 2020 22:02
@jasonmalinowski jasonmalinowski force-pushed the do-not-generate-references-for-built-in-operators branch from 2b67783 to 444c9d4 Compare June 12, 2020 22:40
@jasonmalinowski jasonmalinowski self-assigned this Jun 12, 2020
Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

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

Auto-approval

@jinujoseph jinujoseph added this to the Next milestone Jun 13, 2020
This is just to prevent tests from not doing what we expected them to
do for the reason we thought.
Since we didn't have a moniker for built-in operators, we were confusing
LSIF importing tools that weren't sure what to do here. They would
make up a moniker based on the first use, but that's not stable across
different runs.

We _could_ make up a moniker here, but it's not clear if finding
references for all uses of + in a project is really terribly useful.
@jasonmalinowski jasonmalinowski force-pushed the do-not-generate-references-for-built-in-operators branch from 444c9d4 to 3917656 Compare June 15, 2020 18:50
@ghost ghost merged commit 5dbf9b1 into dotnet:master Jun 15, 2020
@jasonmalinowski jasonmalinowski deleted the do-not-generate-references-for-built-in-operators branch June 16, 2020 04:51
@dibarbet dibarbet modified the milestones: Next, 16.7.P4 Jun 30, 2020
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants