108 rangeLitGen int
109
110▶ // TODO(mdempsky): The state below is all specific to reading
111 // function bodies. It probably makes sense to split it out
112 // separately so that it doesn't take up space in every reader
· · ·
554 // to "any".
555
556▶ // TODO(mdempsky): Restore consistency check to make sure folding to
557 // "any" is safe. This is unfortunately tricky, because a pure
558 // interface can reference impure interfaces too, including
· · ·
829 setType(name, shapeSig(name.Func, r.dict))
830 } else {
831▶ todoDicts = append(todoDicts, func() {
832 r.dict.shapedObj = pr.objIdx(idx, implicits, explicits, true).(*ir.Name)
833 })
· · ·
856
857 if r.hasTypeParams() && !r.dict.shaped {
858▶ todoDicts = append(todoDicts, func() {
859 r.dict.shapedObj = pr.objIdx(idx, implicits, explicits, true).(*ir.Name)
860 })
· · ·
990 // Otherwise, we simply use the type's underlying type as its shape.
991 //
992▶ // TODO(mdempsky): It should be possible to do much more aggressive
993 // shaping still; e.g., collapsing all pointer-shaped types into a
994 // common type, collapsing scalars of the same size/alignment into a
+ 46 more matches in this file