Closed
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 unnecessary
Expected 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