initBool handles all casts that are built-in. This comprises only the source types.
(builtInCasts map[id.Cast]casts.Cast)
| 26 | |
| 27 | // initBool handles all casts that are built-in. This comprises only the source types. |
| 28 | func initBool(builtInCasts map[id.Cast]casts.Cast) { |
| 29 | boolExplicit(builtInCasts) |
| 30 | boolAssignment(builtInCasts) |
| 31 | } |
| 32 | |
| 33 | // boolExplicit registers all explicit casts. This comprises only the source types. |
| 34 | func boolExplicit(builtInCasts map[id.Cast]casts.Cast) { |
no test coverage detected