dotnet / dotnet/csharplang

Champion "default" expression (C# 7.1)

Open
#102 5 comments 22 reactions 1 assignee Claimed by @jcouv View on GitHub
Implemented Needs ECMA Spec Proposal champion
Dominant language
C#
Stars
12.7k
Forks
1.1k
Avg merge
11h 1m
Merged PRs (30d)
3

Description

- [x] Proposal added https://github.com/dotnet/csharplang/blob/master/proposals/csharp-7.1/target-typed-default.md
- [x] Discussed in LDM
- [x] Decision in LDM
- [x] Finalized (done, rejected, inactive) **[done]**
- [ ] Spec'ed

See also https://github.com/dotnet/roslyn/issues/7737
A working implementation was merged to master branch and is now in C# 7.1.

LDM history:
- https://github.com/dotnet/csharplang/blob/master/meetings/2017/LDM-2017-03-07.md
- https://github.com/dotnet/csharplang/blob/master/meetings/2017/LDM-2017-05-31.md#default-in-operators
- There were further revisions on `default` in binary operators, but can't find the notes

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.