We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82e2713 commit c13aa58Copy full SHA for c13aa58
docs/docs/reference/dropped/weak-conformance-spec.md
@@ -20,7 +20,7 @@ assigning a type to a constant expression. The new rule is:
20
- the expressions `Es` are partitioned into `Int` constants on the
21
one hand, and all other expressions on the other hand,
22
- if all the other expressions have the same numeric type `T`
23
- (which can be one of `Byte`, `Short`, `Int`, `Long`, `Float`,
+ (which can be one of `Byte`, `Short`, `Char`, `Int`, `Long`, `Float`,
24
`Double`), possibly after widening, and if none of the `Int`
25
literals would incur a loss of precision when converted to `T`,
26
then they are thus converted (the other expressions are left
0 commit comments