Skip to content

PrettyNaming: make DoesIdentifierNeedBackticks public - #16613

Merged
vzarytovskii merged 5 commits into
dotnet:mainfrom
auduchinok:identifierEscapingCheck-public
Mar 22, 2024
Merged

PrettyNaming: make DoesIdentifierNeedBackticks public#16613
vzarytovskii merged 5 commits into
dotnet:mainfrom
auduchinok:identifierEscapingCheck-public

Conversation

@auduchinok

Copy link
Copy Markdown
Member

Makes the function public, as sometimes we don't need the additional checks from the public NormalizeIdentifierBackticks, and in some cases they are causing issues with the logic that we have.

@auduchinok
auduchinok requested a review from a team as a code ownerJanuary 30, 2024 16:27
@github-actions

github-actionsBot commented Jan 30, 2024

Copy link
Copy Markdown
Contributor

❗ Release notes required


✅ Found changes and release notes in following paths:

Change pathRelease notes pathDescription
src/Compilerdocs/release-notes/.FSharp.Compiler.Service/8.0.300.md

@auduchinok
auduchinokforce-pushed the identifierEscapingCheck-public branch from d274162 to a1f8e05CompareFebruary 1, 2024 12:23
@vzarytovskii
vzarytovskii enabled auto-merge (squash) March 22, 2024 19:51
@vzarytovskii
vzarytovskii merged commit 890e6e1 into dotnet:mainMar 22, 2024
psfinaki added a commit that referenced this pull request Mar 28, 2024
* PrettyNaming: make DoesIdentifierNeedBackticks public (#16613)
* Update dependencies from https://github.com/dotnet/arcade build (#16944)
Microsoft.DotNet.Arcade.Sdk
From Version 8.0.0-beta.24170.6 -> To Version 8.0.0-beta.24172.5
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
* Unskip a few tests (#16946)
* Unskip a few tests
* another one
* Fix [<tailcall>] false positive with yield! (#16933)
* add test case showing a false positive with yield!
* add missing case in IsAppInLambdaBody that can happen with yield!
* add release notes entry
* update PR number
* only bind to what we are interested in
* add test expecting a warning for yield! in a list comprehension
* add test case using yield! in a custom CE that overflows the stack
* Add regression test for nameof type with generic parameters (#16827)
Co-authored-by: Vlad Zarytovskii <vzaritovsky@hotmail.com>
* Minor README update about proto (#16945)
* Minor README update about proto
It's Bootstrap actually.
* Update DEVGUIDE.md
Co-authored-by: Vlad Zarytovskii <vzaritovsky@hotmail.com>
* Update DEVGUIDE.md
---------
Co-authored-by: Vlad Zarytovskii <vzaritovsky@hotmail.com>
* Compiled code benchmarks: easy benchmarking of `preview` against current (#16942)
* Make it easy to bench preview against current
* Revert EnableDefaultNoneItems false (#16953)
* Exclude compiler service benchmark from VMR build when not building tests (#16955)
* Exclude compiler service benchmark from VMR build when not building tests
* remove Z
---------
Co-authored-by: Petr <psfinaki@users.noreply.github.com>
* Update dependencies from https://github.com/dotnet/arcade build 20240326.8 (#16957)
Microsoft.DotNet.Arcade.Sdk
From Version 8.0.0-beta.24172.5 -> To Version 8.0.0-beta.24176.8
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
---------
Co-authored-by: Eugene Auduchinok <eugene.auduchinok@jetbrains.com>
Co-authored-by: dotnet-maestro[bot] <42748379+dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Petr <psfinaki@users.noreply.github.com>
Co-authored-by: dawe <dawedawe@posteo.de>
Co-authored-by: Florian Verdonck <florian.verdonck@outlook.com>
Co-authored-by: Vlad Zarytovskii <vzaritovsky@hotmail.com>
Co-authored-by: Brian Rourke Boll <brianrourkeboll@users.noreply.github.com>
Co-authored-by: Kevin Ransom (msft) <codecutter@hotmail.com>
Co-authored-by: Matt Mitchell <mmitche@microsoft.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants

@auduchinok@vzarytovskii@psfinaki