- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for substArgTypes (0.14 sec)
-
src/cmd/compile/internal/typecheck/syms.go
} n := s.Def.(*ir.Name) if len(types_) != 0 { n = substArgTypes(n, types_...) } return n } // SubstArgTypes substitutes the given list of types for // successive occurrences of the "any" placeholder in the // type syntax expression n.Type. func substArgTypes(old *ir.Name, types_ ...*types.Type) *ir.Name { for _, t := range types_ { types.CalcSize(t) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 22 21:17:13 UTC 2023 - 3.7K bytes - Viewed (0) -
src/cmd/compile/internal/types/type.go
Cboth ChanDir = Crecv | Csend ) // Types stores pointers to predeclared named types. // // It also stores pointers to several special types: // - Types[TANY] is the placeholder "any" type recognized by SubstArgTypes. // - Types[TBLANK] represents the blank variable's type. // - Types[TINTER] is the canonical "interface{}" type. // - Types[TNIL] represents the predeclared "nil" value's type.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 04 14:29:45 UTC 2024 - 49.5K bytes - Viewed (0)