From b2353174db1349f15113416b4df2a833db6058a6 Mon Sep 17 00:00:00 2001 From: Andrew Date: Wed, 12 Aug 2020 17:45:48 -0400 Subject: [PATCH] doc/go1.15: include behavior updates to the context package Fixes #40737 Change-Id: I8e2c1e1653d427af1ded6d61df1aa450e3c4d35c Reviewed-on: https://go-review.googlesource.com/c/go/+/248329 Run-TryBot: Andrew Bonventre TryBot-Result: Gobot Gobot Reviewed-by: Ian Lance Taylor --- doc/go1.15.html | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/doc/go1.15.html b/doc/go1.15.html index 3a12ecfa11a..c691bf3bd5b 100644 --- a/doc/go1.15.html +++ b/doc/go1.15.html @@ -436,6 +436,19 @@ Do not send CLs removing the interior tags from such phrases. +
context
+
+

+ Creating a derived Context using a nil parent is now explicitly + disallowed. Any attempt to do so with the + WithValue, + WithDeadline, or + WithCancel functions + will cause a panic. +

+
+
+
crypto