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

incorporate cleanup related to analyzers #11151

Merged
merged 2 commits into from
Feb 26, 2021
Merged

incorporate cleanup related to analyzers #11151

merged 2 commits into from
Feb 26, 2021

Conversation

dsyme
Copy link
Contributor

@dsyme dsyme commented Feb 25, 2021

(Replaces #11147)

This extracts out some cleanup from #11057

Remove NumberedError, it is the same as Error

Use FSharpDiagnosticSeverity everywhere instead of a boolean isError flag

Move some things into CompilerImports.fs from fsc.fs which gives better layering

Make parsing always return a ParsedInput rather than a ParsedInput option, creating an empty ParsedInput in the (very rare) cases where parsing outright failed. This makes subsequent processing much simpler

Move FSharpProjectOptions into FSharpCheckerResults.fs/fsi. THis is a better location as it means the FSharpCheckerResults can report the options as part of the project context

@dsyme
Copy link
Contributor Author

dsyme commented Feb 26, 2021

This is ready - @TIHan @KevinRansom @vzarytovskii @cartermp can I have an approval? thanks

@TIHan TIHan merged commit f820847 into main Feb 26, 2021
@KevinRansom KevinRansom deleted the cleanup/ac1 branch June 30, 2021 19:09
nosami pushed a commit to xamarin/visualfsharp that referenced this pull request Jan 26, 2022
* incorporate cleanup related to analyzers

* fix error regressions

Co-authored-by: Don Syme <[email protected]>
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.

2 participants