Skip to content

Commit

Permalink
Remove unused value
Browse files Browse the repository at this point in the history
  • Loading branch information
brianrourkeboll committed Nov 8, 2023
1 parent 502aeff commit b7801b5
Showing 1 changed file with 46 additions and 47 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ open CodeFixTestFramework
[<AutoOpen>]
module private TopLevel =
let private fixer = FSharpRemoveUnnecessaryParenthesesCodeFixProvider()
let private fixAllProvider = fixer.RegisterFsharpFixAll()

let private tryFix (code: string) =
cancellableTask {
Expand Down Expand Up @@ -1041,62 +1040,62 @@ let _ =
let moreComplexApps =
memberData {
"
type T() = member _.M y = [|y|]
let x = T()
let y = 3
let z = 0
x.M(y)[z]
",
type T() = member _.M y = [|y|]
let x = T()
let y = 3
let z = 0
x.M(y)[z]
",
"
type T() = member _.M y = [|y|]
let x = T()
let y = 3
let z = 0
x.M(y)[z]
"
type T() = member _.M y = [|y|]
let x = T()
let y = 3
let z = 0
x.M(y)[z]
"

"
type T() = member _.M y = [|y|]
let x = T()
let y = 3
let z = 0
x.M(y).[z]
",
type T() = member _.M y = [|y|]
let x = T()
let y = 3
let z = 0
x.M(y).[z]
",
"
type T() = member _.M y = [|y|]
let x = T()
let y = 3
let z = 0
x.M(y).[z]
"
type T() = member _.M y = [|y|]
let x = T()
let y = 3
let z = 0
x.M(y).[z]
"

"
let f x = x =
(let a = 1
a)
",
let f x = x =
(let a = 1
a)
",
"
let f x = x =
(let a = 1
a)
"
let f x = x =
(let a = 1
a)
"

"
type Builder () =
member _.Return x = x
member _.Run x = x
let builder = Builder ()
let (+) _ _ = builder
let _ = (2 + 2) { return 5 }
",
type Builder () =
member _.Return x = x
member _.Run x = x
let builder = Builder ()
let (+) _ _ = builder
let _ = (2 + 2) { return 5 }
",
"
type Builder () =
member _.Return x = x
member _.Run x = x
let builder = Builder ()
let (+) _ _ = builder
let _ = (2 + 2) { return 5 }
"
type Builder () =
member _.Return x = x
member _.Run x = x
let builder = Builder ()
let (+) _ _ = builder
let _ = (2 + 2) { return 5 }
"

"""
type E (message : string) =
Expand Down

0 comments on commit b7801b5

Please sign in to comment.