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

Fix some assertions in debug mode #3010

Merged
merged 14 commits into from
May 9, 2017
Merged

Fix some assertions in debug mode #3010

merged 14 commits into from
May 9, 2017

Conversation

dsyme
Copy link
Contributor

@dsyme dsyme commented May 9, 2017

WHile fixing #2793 I improved the diagnostics for some assertions and remove some exceptions that were happening on the startup path

I also cleaned up the logic for BinFolderOfDefaultFSharpCompiler a little and take advantage of the fact that optdata/sigdata are gone to simplify some things.

@dsyme
Copy link
Contributor Author

dsyme commented May 9, 2017

Also includes @saul's fix for #3005

@@ -13,7 +13,7 @@ open Microsoft.CodeAnalysis.Text
open Microsoft.CodeAnalysis.CodeFixes
open Microsoft.CodeAnalysis.CodeActions

[<ExportCodeFixProvider(FSharpConstants.FSharpLanguageName, Name = PredefinedCodeFixProviderNames.SimplifyNames); Shared>]
//[<ExportCodeFixProvider(FSharpConstants.FSharpLanguageName, Name = PredefinedCodeFixProviderNames.SimplifyNames); Shared>]
Copy link
Contributor

Choose a reason for hiding this comment

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

I assume you didn't mean to disable this? There's an option for this in the options dialog.

Copy link
Contributor

Choose a reason for hiding this comment

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

👍

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks :) I'll re-enable it. However see also #3009

@dsyme dsyme merged commit 160223f into dotnet:master May 9, 2017
nosami pushed a commit to xamarin/visualfsharp that referenced this pull request Jan 26, 2022
WHile fixing dotnet#2793 I improved the diagnostics for some assertions and remove some exceptions that were happening on the startup path

I also cleaned up the logic for BinFolderOfDefaultFSharpCompiler a little and take advantage of the fact that optdata/sigdata are gone to simplify some things.
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.

4 participants