Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

C# 7.2 leading separator #148

Closed
ufcpp opened this issue Oct 13, 2017 · 1 comment
Closed

C# 7.2 leading separator #148

ufcpp opened this issue Oct 13, 2017 · 1 comment
Labels

Comments

@ufcpp
Copy link
Owner

ufcpp commented Oct 13, 2017

http://ufcpp.net/study/csharp/start/stnumber/#digit-separator に追記

dotnet/csharplang#65
https:/ufcpp/UfcppSample/blob/master/Demo/2017/Csharp7_2-1012/ConsoleApp1/DigitSeparator.cs

leading separator って呼んでるっぽい。
うち、digit separator を 数字区切り と訳してるし、こっちは 先頭区切り?

digit separator を入れる時点で b, x の後ろは認めるかどうかで迷ってたみたい:

  • digit (数字)の区切りという割に、数字を区切らないから
  • 0b_1111とかはできるけど、_123は識別子だから注意
@ufcpp ufcpp added the C# 8.0 label Oct 13, 2017
@ufcpp
Copy link
Owner Author

ufcpp commented Oct 22, 2017

@ufcpp ufcpp closed this as completed Oct 22, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant