Skip to content

Champion "allow digit separator after 0b or 0x" (C# 7.2, VB 15.5) #65

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
4 of 5 tasks
gafter opened this issue Feb 11, 2017 · 3 comments
Open
4 of 5 tasks

Champion "allow digit separator after 0b or 0x" (C# 7.2, VB 15.5) #65

gafter opened this issue Feb 11, 2017 · 3 comments
Assignees
Labels
Implemented Needs ECMA Spec This feature has been implemented in C#, but still needs to be merged into the ECMA specification Proposal champion
Milestone

Comments

@gafter
Copy link
Member

gafter commented Feb 11, 2017

(from dotnet/roslyn#12680)

See PR dotnet/roslyn#20449 (implemented in 15.5)

@gafter
Copy link
Member Author

gafter commented Sep 27, 2017

Thanks to @alrz for implementing this feature!

@jcouv jcouv changed the title Champion "allow digit separator after 0b or 0x" Champion "allow digit separator after 0b or 0x" (C# 7.2) Oct 2, 2017
@gafter gafter removed the Proposal label Oct 3, 2017
@gafter
Copy link
Member Author

gafter commented Oct 3, 2017

@jcouv jcouv changed the title Champion "allow digit separator after 0b or 0x" (C# 7.2) Champion "allow digit separator after 0b or 0x" (C# 7.2, VB 15.5) Nov 7, 2017
@alrz
Copy link
Member

alrz commented May 7, 2018

From this blog post:

// still invalid
var c = 10_.0;  // error: next to decimal
var d = 1.1e_1; // error: next to exponent character
var e = 10_f;   // error: next to type specified

Makes sense, but probably not important enough to do yet another iteration on separators.

@333fred 333fred added the Implemented Needs ECMA Spec This feature has been implemented in C#, but still needs to be merged into the ECMA specification label Oct 16, 2020
@dotnet dotnet locked and limited conversation to collaborators Dec 26, 2024
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
Implemented Needs ECMA Spec This feature has been implemented in C#, but still needs to be merged into the ECMA specification Proposal champion
Projects
None yet
Development

No branches or pull requests

4 participants