google / starlark-go

Starlark in Go: the Starlark configuration language, implemented in Go
BSD 3-Clause "New" or "Revised" License
2.3k stars 209 forks source link

Add functionality for parsing floats #338

Closed jammiess closed 3 years ago

jammiess commented 3 years ago

The UnpackArgs command does not support parsing floats out of arguments. This pull request adds that functionality to the unpackOneArg function which then adds that functionality to the UnpackArgs command.

google-cla[bot] commented 3 years ago

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

:memo: Please visit https://cla.developers.google.com/ to sign.

Once you've signed (or fixed any issues), please reply here with @googlebot I signed it! and we'll verify it.


What to do if you already signed the CLA

Individual signers
Corporate signers

ℹ️ Googlers: Go here for more info.

jammiess commented 3 years ago

@googlebot I signed it!