Skip to content

Commit 7fb0164

Browse files
authored
Fix typo suggesting Tuple syntax for Unions (dotnet#9338)
1 parent 7e655fa commit 7fb0164

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

proposals/TypeUnions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,7 @@ A value of a type can be implicitly coerced to a union type if an implicit coerc
489489

490490
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.
491491

492-
(int, short) value = 10;
492+
(int or short) value = 10;
493493
double value2 = value;
494494

495495
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

Comments
 (0)