- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for ConvertVal (0.29 sec)
-
src/cmd/compile/internal/typecheck/const.go
if okfor[op][t.Kind()] { return t } } return nil } // ConvertVal converts v into a representation appropriate for t. If // no such representation exists, it returns constant.MakeUnknown() // instead. // // If explicit is true, then conversions from integer to string are // also allowed. func ConvertVal(v constant.Value, t *types.Type, explicit bool) constant.Value { switch ct := v.Kind(); ct {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 05 15:20:28 UTC 2023 - 10.5K bytes - Viewed (0)