Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
laurentlb committed May 11, 2024
1 parent 25f0135 commit 7095a46
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Shader Minifier Library.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@
<Compile Include="src\ast.fs" />
<Compile Include="src\printer.fs" />
<Compile Include="src\formatter.fs" />
<Compile Include="src\renamer.fs" />
<Compile Include="src\analyzer.fs" />
<Compile Include="src\renamer.fs" />
<Compile Include="src\rewriter.fs" />
<Compile Include="src\preprocessor.fs" />
<Compile Include="src\parse.fs" />
Expand Down
2 changes: 1 addition & 1 deletion src/renamer.fs
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ module private RenamerImpl =
let varRenames, reusable = env.varRenames |> Map.partition (fun _ id -> stillUsedSet.Contains id)
let reusable = [for i in reusable -> i.Value]
|> List.filter (fun x -> not (List.contains x options.noRenamingList))
let allAvailable = reusable @ env.availableNames |> Seq.distinct |> Seq.toList
let allAvailable = reusable @ env.availableNames |> List.distinct
env.Update(varRenames, env.funRenames, allAvailable)

let rec renStmt env =
Expand Down

0 comments on commit 7095a46

Please sign in to comment.