Skip to content

Commit

Permalink
Fantomas
Browse files Browse the repository at this point in the history
  • Loading branch information
auduchinok committed Feb 1, 2024
1 parent 7594bef commit 88c04ea
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Compiler/SyntaxTree/PrettyNaming.fs
Original file line number Diff line number Diff line change
Expand Up @@ -529,9 +529,7 @@ let DoesIdentifierNeedBackticks (name: string) : bool =

/// A utility to help determine if an identifier needs to be quoted
let AddBackticksToIdentifierIfNeeded (name: string) : string =
if
DoesIdentifierNeedBackticks name
then
if DoesIdentifierNeedBackticks name then
"``" + name + "``"
else
name
Expand Down

0 comments on commit 88c04ea

Please sign in to comment.