Skip to content

Commit b388d68

Browse files
committed
doc: add release notes for reflect
Change-Id: I71a6816f54f8ad0f8531bb3f9de552fd136a0ed4 Reviewed-on: https://go-review.googlesource.com/c/go/+/181943 Reviewed-by: Ian Lance Taylor <[email protected]>
1 parent 418c7d8 commit b388d68

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/go1.13.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -291,11 +291,11 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
291291
<dl id="reflect"><dt><a href="/pkg/reflect/">reflect</a></dt>
292292
<dd>
293293
<p><!-- CL 171337 -->
294-
TODO: <a href="https://golang.org/cl/171337">https://golang.org/cl/171337</a>: add Value.IsZero
294+
The new <a href="/pkg/reflect/#Value.IsZero"><code>Value.IsZero</code></a> method reports whether a <code>Value</code> is a zero value for its type.
295295
</p>
296296

297297
<p><!-- CL 174531 -->
298-
TODO: <a href="https://golang.org/cl/174531">https://golang.org/cl/174531</a>: MakeFunc: allow assignment conversions on values returned from the wrapped function
298+
The <a href="/pkg/reflect/#MakeFunc"><code>MakeFunc</code></a> function now allows assignment conversions on returned values, instead of requiring exact type match. This is particularly useful when the type being returned is an interface type, but the value actually returned is a concrete value implementing that type.
299299
</p>
300300

301301
</dl><!-- reflect -->

0 commit comments

Comments
 (0)