Skip to content

Commit c13aa58

Browse files
committed
Change Spec to include Char as numeric type.
1 parent 82e2713 commit c13aa58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/docs/reference/dropped/weak-conformance-spec.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ assigning a type to a constant expression. The new rule is:
2020
- the expressions `Es` are partitioned into `Int` constants on the
2121
one hand, and all other expressions on the other hand,
2222
- if all the other expressions have the same numeric type `T`
23-
(which can be one of `Byte`, `Short`, `Int`, `Long`, `Float`,
23+
(which can be one of `Byte`, `Short`, `Char`, `Int`, `Long`, `Float`,
2424
`Double`), possibly after widening, and if none of the `Int`
2525
literals would incur a loss of precision when converted to `T`,
2626
then they are thus converted (the other expressions are left

0 commit comments

Comments
 (0)