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

Remove unsafe operations from the code fixes #15764

Open
Tracked by #15408
psfinaki opened this issue Aug 8, 2023 · 0 comments
Open
Tracked by #15408

Remove unsafe operations from the code fixes #15764

psfinaki opened this issue Aug 8, 2023 · 0 comments
Labels
Area-LangService-CodeFixes Code fixes associated with diagnostics Feature Improvement

Comments

@psfinaki
Copy link
Member

psfinaki commented Aug 8, 2023

I would suggest removing all unsafe operations like exactlyOne, head, etc. From the code fixes (or really anywhere where it can crash in VS) regardless of if the underlying cause is legitimate. Instead of crashing report telemetry so we'll find out about it.

Could be also a nice analyzer to highlight all of these.

Originally posted by @0101 in #15685 (comment)

@github-actions github-actions bot added this to the Backlog milestone Aug 8, 2023
@psfinaki psfinaki mentioned this issue Aug 8, 2023
85 tasks
@psfinaki psfinaki self-assigned this Aug 8, 2023
@psfinaki psfinaki modified the milestones: Backlog, August-2023 Aug 8, 2023
@psfinaki psfinaki added the Area-LangService-CodeFixes Code fixes associated with diagnostics label Aug 8, 2023
@psfinaki psfinaki removed their assignment Sep 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-LangService-CodeFixes Code fixes associated with diagnostics Feature Improvement
Projects
Status: New
Development

No branches or pull requests

2 participants