56// function body reading code.
57
58▶// TODO(mdempsky): Add an importer for Unified IR to the x/tools repo,
59// and better document the file format boundary between public and
60// private data.
· · ·
182 sig *types2.Signature
183
184▶ // TODO(mdempsky): We should be able to prune localsIdx whenever a
185 // scope closes, and then maybe we can just use the same map for
186 // storing the TypeParams too (as their TypeName instead).
· · ·
390 pos := p.Pos()
391
392▶ // TODO(mdempsky): Track down the remaining cases here and fix them.
393 if !w.Bool(pos.IsKnown()) {
394 return
· · ·
395 }
396
397▶ // TODO(mdempsky): Delta encoding.
398 w.posBase(pos.Base())
399 w.Uint(pos.Line())
· · ·
459 w.String("unsafe")
460 default:
461▶ // TODO(mdempsky): Write out pkg.Path() for curpkg too.
462 var path string
463 if pkg != w.p.curpkg {
+ 19 more matches in this file