diff --git a/docs/features/tuples.md b/docs/features/tuples.md index 40d19a07e2ae40cc127f8dd8a3d2fe8780473e8d..a2ccef8ac9271f3f738964cdd630b710a30a3a90 100644 --- a/docs/features/tuples.md +++ b/docs/features/tuples.md @@ -227,7 +227,7 @@ var t = (null, 5); // Error: tuple expression doesn't have a type bec ((1,2, null), 5).ToString(); // Error: tuple expression doesn't have a type ImmutableArray.Create((()=>1, 1)); // Error: tuple expression doesn't have a type because lambda does not have a type -ImmutableArray.Create((Func)()=>1, 1); // ok +ImmutableArray.Create(((Func)(()=>1), 1)); // ok ``` A tuple literal may include names, in which case they become part of the natural type: