- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for UntypedRune (0.34 sec)
-
src/cmd/compile/internal/types/type.go
// Types to represent untyped string and boolean constants. UntypedString = newType(TSTRING) UntypedBool = newType(TBOOL) // Types to represent untyped numeric constants. UntypedInt = newType(TIDEAL) UntypedRune = newType(TIDEAL) UntypedFloat = newType(TIDEAL) UntypedComplex = newType(TIDEAL) ) // UntypedTypes maps from a constant.Kind to its untyped Type // representation. var UntypedTypes = [...]*Type{
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 04 14:29:45 UTC 2024 - 49.5K bytes - Viewed (0) -
src/go/types/expr.go
// the value nil. switch x.typ.(*Basic).kind { case UntypedBool: if !isBoolean(target) { return nil, nil, InvalidUntypedConversion } case UntypedInt, UntypedRune, UntypedFloat, UntypedComplex: if !isNumeric(target) { return nil, nil, InvalidUntypedConversion } case UntypedString: // Non-constant untyped string values are not permitted by the spec and
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 02:09:54 UTC 2024 - 49.7K bytes - Viewed (0) -
src/cmd/compile/internal/types2/expr.go
// the value nil. switch x.typ.(*Basic).kind { case UntypedBool: if !isBoolean(target) { return nil, nil, InvalidUntypedConversion } case UntypedInt, UntypedRune, UntypedFloat, UntypedComplex: if !isNumeric(target) { return nil, nil, InvalidUntypedConversion } case UntypedString: // Non-constant untyped string values are not permitted by the spec and
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 02:09:54 UTC 2024 - 51.7K bytes - Viewed (0)