go/internal/typeparams.IndexExpr.Orig (field)

16 uses

	go/internal/typeparams (current package)
		typeparams.go#L37: 	Orig ast.Expr // the wrapped expr, which may be distinct from the IndexListExpr below.

	go/types
		call.go#L21: 		check.softErrorf(inNode(ix.Orig, ix.Lbrack), _UnsupportedFeature, "function instantiation requires go1.18 or later")
		call.go#L27: 		x.expr = ix.Orig
		call.go#L38: 		x.expr = ix.Orig
		call.go#L43: 		targs = check.infer(ix.Orig, sig.TypeParams().list(), targs, nil, nil)
		call.go#L47: 			x.expr = ix.Orig
		call.go#L57: 	check.recordInstance(ix.Orig, targs, res)
		call.go#L60: 	x.expr = ix.Orig
		index.go#L31: 		x.typ = check.varType(e.Orig)
		index.go#L100: 		x.expr = e.Orig
		index.go#L333: 		check.invalidAST(expr.Orig, "index expression %v with 0 indices", expr)
		resolver.go#L528: 					check.invalidAST(ix.Orig, "parameterized receiver contains nil parameters")
		typexpr.go#L408: 		check.invalidOp(ix.Orig, _NotAGenericType, "%s (%s)", ix.Orig, reason)
		typexpr.go#L455: 			inferred := check.infer(ix.Orig, tparams, targs, nil, nil)
		typexpr.go#L473: 		check.recordInstance(ix.Orig, inst.TypeArgs().list(), inst)