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 8b462d7 commit f22ec51Copy full SHA for f22ec51
doc/go1.17.html
@@ -228,7 +228,14 @@ <h2 id="runtime">Runtime</h2>
228
229
<h2 id="compiler">Compiler</h2>
230
231
-<p>
+<p><!-- CL 283112, golang.org/issue/28727 -->
232
+
233
+ Functions containing closures can now be inlined. One effect of this change is
234
+ that a function with a closure may actually produce a distinct closure function
235
+ for each place that the function is inlined. Hence, this change could reveal
236
+ bugs where Go functions are compared (incorrectly) by pointer value. Go
237
+ functions are by definition not comparable.
238
239
TODO: complete the Compiler section, or delete if not needed
240
</p>
241
0 commit comments