dotnet/roslyn

Possibly incorrect comment in definite assignment

Open

#62,522 opened on 2022年7月9日

GitHub で見る
 (0 comments) (0 reactions) (0 assignees)C# (4,257 forks)batch import
Area-CompilersBugConcept-Design Debthelp wanted

Repository metrics

Stars
 (20,414 stars)
PR merge metrics
 (平均マージ 6d 17h) (30d で 256 merged PRs)

説明

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.

コントリビューターガイド