dotnet / dotnet/csharpstandard

Spec doesn't say that the result of `?:` is an rvalue

Open
#278 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
815
Forks
99
Avg merge
1d 14h
Merged PRs (30d)
16

Description

This was noticed in the context of compiler issue https://github.com/dotnet/roslyn/issues/17756

The specification for `?:` should make it clear that it results in a value, not a variable.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.