dotnet/roslyn

Possibly incorrect comment in definite assignment

Open

#62 522 ouverte le 9 juil. 2022

Voir sur GitHub
 (0 commentaires) (0 réactions) (0 assignés)C# (4 257 forks)batch import
Area-CompilersBugConcept-Design Debthelp wanted

Métriques du dépôt

Stars
 (20 414 stars)
Métriques de merge PR
 (Merge moyen 6j 17h) (256 PRs mergées en 30 j)

Description

https://github.com/dotnet/roslyn/blob/7fc34f9e211bef9499cd1bdf6a11630f12052de1/src/Compilers/CSharp/Portable/FlowAnalysis/DefiniteAssignment.cs#L1684

commenting out the code fails the test PiecewiseStructAssign2 with definite assignment errors. So it has more effect than region analysis APIs.

Guide contributeur