Skip to content

Commit 6295ed5

Browse files
committed
upd
1 parent 2270526 commit 6295ed5

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/conversions.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ Constant coercions occur implicitly both at compile-time and runtime, converting
2828
| Boolean constant to `*` or `Object` or union containing `Boolean` | Equivalent constant of the target type. |
2929
| Namespace constant to `*` or `Object` or union containing `Namespace` | Equivalent constant of the target type. |
3030
| 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. |
3333

3434
## Implicit coercion
3535

@@ -39,7 +39,7 @@ Implicit coercions occur implicitly both at compile-time and runtime, after tryi
3939
| ----------------------------------------- | ------------------------ |
4040
| From `*` | |
4141
| To `*` | |
42-
| Between numeric types | |
42+
| From numeric type to compatible numeric type | |
4343
| To covariant (includes base classes, implemented interfaces, unions and inherited record type) | |
4444
| From union to compatible union | |
4545
| From union member to union | |

0 commit comments

Comments
 (0)