You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/go1.22.html
+5-2Lines changed: 5 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -516,8 +516,11 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
516
516
TODO: <ahref="https://go.dev/issue/63223">https://go.dev/issue/63223</a>: API changes to support explicit Alias nodes
517
517
</p>
518
518
519
-
<p><!-- https://go.dev/issue/61035 -->
520
-
TODO: <ahref="https://go.dev/issue/61035">https://go.dev/issue/61035</a>: go/types, types2: fix SizesFor("gc", ...) to match actual gc behavior
519
+
<p><!-- https://go.dev/issue/61035, multiple CLs, see issue for details -->
520
+
The implementation of <ahref="/pkg/go/types#SizesFor"><code>SizesFor</code></a> has been adjusted to compute
521
+
the same type sizes as the compiler when the compiler argument for <code>SizesFor</code> is <code>"gc"</code>.
522
+
The default <ahref="/pkg/go/types#Sizes"><code>Sizes</code></a> implementation used by the type checker is now
0 commit comments