-
Notifications
You must be signed in to change notification settings - Fork 830
Closed
Labels
Area-LangService-CodeFixesCode fixes associated with diagnosticsCode fixes associated with diagnostics
Description
I have the following code in an F# file that uses SQL:
open System
open System.Data // "System." is marked as unnecessary
open System.Data.SqlClient // "System.Data." is marked as unnecessaryExpected behavior
Open statements should should never be simplified.
Actual behavior
Namespace is simplified, resulting in:
FS0893: This declaration opens the namespace or module 'System.Data.SqlClient' through a partially qualified path. Adjust the code to use the full path of the namespace. This change will make your code more robust as new constructs are added to the F# and CLI libraries.
Known workarounds
Ignore the simplification
Metadata
Metadata
Assignees
Labels
Area-LangService-CodeFixesCode fixes associated with diagnosticsCode fixes associated with diagnostics