google / go-jsonnet

Apache License 2.0
1.61k stars 231 forks source link

Add digit separators to Jsonnet #760

Open seizethedave opened 3 months ago

seizethedave commented 3 months ago

This adds digit separators (1_000) to Jsonnet's numeric literals.

Companion to the same PR in C++ repo: https://github.com/google/jsonnet/pull/1160

Reference issue with spec proposal: https://github.com/google/jsonnet/issues/1155

coveralls commented 3 months ago

Coverage Status

coverage: 68.206% (+0.06%) from 68.143% when pulling f10caa02447fc763dd995e4e9354a409a9892f8f on seizethedave:digitsep into 2b4d7535f540f128e38830492e509a550eb86d57 on google:master.