You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/conversions.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,8 +28,8 @@ Constant coercions occur implicitly both at compile-time and runtime, converting
28
28
| Boolean constant to `*` or `Object` or union containing `Boolean`| Equivalent constant of the target type. |
29
29
| Namespace constant to `*` or `Object` or union containing `Namespace`| Equivalent constant of the target type. |
30
30
| Type constant to `*` or `Object` or union containing `Class`| Equivalent constant of the target type. |
31
-
| Numeric constant to another numeric type | Numeric constant with value converted to target type. |
32
-
| Numeric constant to union containing at least one numeric type | Numeric constant of the target type containing value converted to the containing numeric type, preferring the *same* numeric type or otherwise the first numeric type found. |
31
+
| Numeric constant to another compatible numeric type | Numeric constant with value coerced to target type. |
32
+
| Numeric constant to union containing at least one compatible numeric type | Numeric constant of the target type containing value coerced to the containing numeric type, preferring the *same* numeric type or otherwise the first numeric type found. |
33
33
34
34
## Implicit coercion
35
35
@@ -39,7 +39,7 @@ Implicit coercions occur implicitly both at compile-time and runtime, after tryi
0 commit comments