source-academy / go-slang

Implementation of Go
Apache License 2.0
0 stars 1 forks source link

int and float does not automatically convert from/to each other #14

Open chengda300 opened 2 months ago

chengda300 commented 2 months ago

int cannot be passed off as a float, float cannot be passed off as an int