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 7e655fa commit 7fb0164Copy full SHA for 7fb0164
proposals/TypeUnions.md
@@ -489,7 +489,7 @@ A value of a type can be implicitly coerced to a union type if an implicit coerc
489
490
A value of an ad hoc union can be implicitly coerced to a type if all member type's of the union can be implicitly coerced to the type.
491
492
- (int, short) value = 10;
+ (int or short) value = 10;
493
double value2 = value;
494
495
A value of an ad hoc union can be explicitly coerced to a type if one of the member types is coercible to the type.
0 commit comments