Skip to content
This repository was archived by the owner on May 7, 2025. It is now read-only.

Fix conversion from int to float64#4

Merged
suzuki-shunsuke merged 2 commits into
masterfrom
fix-convert-int-to-float64-2
Jun 3, 2024
Merged

Fix conversion from int to float64#4
suzuki-shunsuke merged 2 commits into
masterfrom
fix-convert-int-to-float64-2

Conversation

@suzuki-shunsuke
Copy link
Copy Markdown

@suzuki-shunsuke suzuki-shunsuke commented Jun 3, 2024

Cherry pick commits from google#753 .

$ git cherry-pick ac39251cade36bde3062ddf2a007a7d91828eab9 cf5c57e462b6d3aa2d04c89cde6de02571d3941a
[fix-convert-int-to-float64-2 165afaa] fix: fix conversion from int to float64
 Date: Mon Jun 3 12:44:05 2024 +0900
 1 file changed, 1 insertion(+), 1 deletion(-)
[fix-convert-int-to-float64-2 e121701] fix: fix a compile error
 Date: Mon Jun 3 12:53:42 2024 +0900
 1 file changed, 9 insertions(+), 1 deletion(-)

```
cannot convert v (variable of type interface{}) to type float64: need type assertion
```
@suzuki-shunsuke suzuki-shunsuke added this to the v0.20.2 milestone Jun 3, 2024
@suzuki-shunsuke suzuki-shunsuke added the bug Something isn't working label Jun 3, 2024
@suzuki-shunsuke suzuki-shunsuke merged commit 43fd4f8 into master Jun 3, 2024
@suzuki-shunsuke suzuki-shunsuke deleted the fix-convert-int-to-float64-2 branch June 3, 2024 04:00
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant