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

golang: const float64 missing conversion #684

Closed
visualfc opened this issue Mar 8, 2021 · 0 comments · Fixed by #683
Closed

golang: const float64 missing conversion #684

visualfc opened this issue Mar 8, 2021 · 0 comments · Fixed by #683
Labels

Comments

@visualfc
Copy link
Member

visualfc commented Mar 8, 2021

Go+ code

println(float64(1))
println(float32(2))

generate Golang code

package main

import fmt "fmt"

func main() { 
//line ./main.gop:2
	fmt.Println(1)
//line ./main.gop:3
	fmt.Println(float32(2))
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants