Skip to content
This repository has been archived by the owner on Oct 31, 2021. It is now read-only.

Commit

Permalink
small renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
vasily-kirichenko committed Apr 25, 2016
1 parent 8b37fc8 commit 5388108
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/FSharpVSPowerTools.Core/TypedAstUtils.fs
Original file line number Diff line number Diff line change
Expand Up @@ -299,13 +299,13 @@ module TypedAstPatterns =
module UnusedDeclarations =
open System.Collections.Generic

let symbolsComparer =
let symbolUseComparer =
{ new IEqualityComparer<FSharpSymbolUse> with
member __.Equals (x, y) = x.Symbol.IsEffectivelySameAs y.Symbol
member __.GetHashCode x = x.Symbol.GetHashCode() }

let getSingleDeclarations (symbolsUses: SymbolUse[]): FSharpSymbol[] =
let symbols = Dictionary<FSharpSymbolUse, int>(symbolsComparer)
let symbols = Dictionary<FSharpSymbolUse, int>(symbolUseComparer)

for symbolUse in symbolsUses do
match symbols.TryGetValue symbolUse.SymbolUse with
Expand Down
2 changes: 1 addition & 1 deletion src/FSharpVSPowerTools/FSharpVSPowerTools.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<DeployExtension>False</DeployExtension>
<DeployExtension>True</DeployExtension>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
Expand Down

0 comments on commit 5388108

Please sign in to comment.