File tree 1 file changed +3
-6
lines changed
1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -508,8 +508,9 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
508
508
509
509
< dl id ="go/types "> < dt > < a href ="/pkg/go/types/ "> go/types</ a > </ dt >
510
510
< dd >
511
- < p > <!-- https://go.dev/issue/62037 -->
512
- TODO: < a href ="https://go.dev/issue/62037 "> https://go.dev/issue/62037</ a > : add Info.PkgName method
511
+ < p > <!-- https://go.dev/issue/62037, CL 541575 -->
512
+ The new helper method < a href ="/pkg/go/types#Info.PkgNameOf "> < code > PkgNameOf</ code > </ a > returns the local package name
513
+ for the given import declaration.
513
514
</ p >
514
515
515
516
< p > <!-- https://go.dev/issue/63223 -->
@@ -523,10 +524,6 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
523
524
< code > types.SizesFor("gc", "amd64")</ code > .
524
525
</ p >
525
526
526
- < p > <!-- CL 541575 -->
527
- TODO: < a href ="https://go.dev/cl/541575 "> https://go.dev/cl/541575</ a > : go/types, types2: implement Info.PkgNameOf; modified api/next/62037.txt
528
- </ p >
529
-
530
527
< p > <!-- CL 541737 -->
531
528
TODO: < a href ="https://go.dev/cl/541737 "> https://go.dev/cl/541737</ a > : go/types, types2: implement Alias proposal (export API); modified api/next/63223.txt
532
529
</ p >
You can’t perform that action at this time.
0 commit comments