Home | History | Annotate | Download | only in gc

Lines Matching refs:Right

233 	return callrecv(n.Left) || callrecv(n.Right) || callrecvlist(n.Ninit) || callrecvlist(n.Nbody) || callrecvlist(n.List) || callrecvlist(n.Rlist)
339 r := typecheck(n.Right, Etype)
393 n.Right = nil
401 n.Right = typecheck(n.Right, Etype)
403 r := n.Right
418 n.Right = nil
529 n.Right = typecheck(n.Right, Erv)
531 r = n.Right
547 n.Right = typecheck(n.Right, Erv)
549 r = n.Right
558 n.Right = r
584 n.Right = r
643 n.Right = r
709 n.Right = r
733 n.Right = nil
742 n.Right = l
870 n.Right = newname(n.Sym)
948 if n.Right != nil {
949 n.Right = typecheck(n.Right, Etype)
950 n.Type = n.Right.Type
951 n.Right = nil
983 n.Right = typecheck(n.Right, Erv)
984 r := n.Right
997 n.Right = indexlit(n.Right)
1010 if n.Right.Type != nil && !n.Right.Type.IsInteger() {
1011 yyerror("non-integer %s index %v", why, n.Right)
1015 if !n.Bounded() && Isconst(n.Right, CTINT) {
1016 x := n.Right.Int64()
1018 yyerror("invalid %s index %v (index must be non-negative)", why, n.Right)
1020 yyerror("invalid array index %v (out of bounds for %d-element array)", n.Right, t.NumElem())
1022 yyerror("invalid string index %v (out of bounds for %d-byte string)", n.Right, len(n.Left.Val().U.(string)))
1023 } else if n.Right.Val().U.(*Mpint).Cmp(maxintval[TINT]) > 0 {
1024 yyerror("invalid %s index %v (index too large)", why, n.Right)
1030 n.Right = defaultlit(n.Right, t.Key())
1031 if n.Right.Type != nil {
1032 n.Right = assignconv(n.Right, t.Key(), "map index")
1065 n.Right = typecheck(n.Right, Erv)
1084 n.Right = defaultlit(n.Right, t.Elem())
1085 r := n.Right
1090 n.Right = assignconv(r, t.Elem(), "send")
1189 n.Left = n.Right
1190 n.Right = nil
1452 n.Right = typecheck(n.Right, Erv)
1454 r = n.Right
1465 n.Right = r
1656 n.Right = args.Second()
1660 n.Right = typecheck(n.Right, Erv)
1661 if n.Left.Type == nil || n.Right.Type == nil {
1666 n.Right = defaultlit(n.Right, nil)
1667 if n.Left.Type == nil || n.Right.Type == nil {
1673 if n.Left.Type.IsSlice() && n.Right.Type.IsString() {
1682 if !n.Left.Type.IsSlice() || !n.Right.Type.IsSlice() {
1683 if !n.Left.Type.IsSlice() && !n.Right.Type.IsSlice() {
1684 yyerror("arguments to copy must be slices; have %L, %L", n.Left.Type, n.Right.Type)
1688 yyerror("second argument to copy should be slice or string; have %L", n.Right.Type)
1694 if !eqtype(n.Left.Type.Elem(), n.Right.Type.Elem()) {
1695 yyerror("arguments to copy have different element types: %L and %L", n.Left.Type, n.Right.Type)
1808 n.Right = r
2036 n.Right = typecheck(n.Right, Etop)
2324 n.Right = n.List.Second()
2826 cmp.Right = a
2861 if n.Right == nil {
2862 n.Right = typenod(t)
2864 n.Right.SetImplicit(true) // * is okay
2866 n.Right = typecheck(n.Right, Etype)
2867 if n.Right.Type != nil && eqtype(n.Right.Type, t) {
2881 if n.Right == nil {
2887 // Save original node (including n.Right)
2892 setlineno(n.Right)
2893 n.Right = typecheck(n.Right, Etype|Ecomplit)
2894 l := n.Right // sic
2906 if !n.Right.Implicit() {
2953 vp = &l.Right
2985 n.Right = nodintconst(length)
3010 r = l.Right
3014 l.Right = assignconv(r, t.Val(), "map value")
3065 l.Left = l.Right
3066 l.Right = nil
3069 // the field to the right of the dot,
3239 return samesafeexpr(l.Left, r.Left) && samesafeexpr(l.Right, r.Right)
3265 n.Right = typecheck(n.Right, Erv)
3267 if n.Right != nil && n.Right.Type != nil {
3269 n.Right = assignconv(n.Right, n.Left.Type, "assignment")
3274 n.Right = defaultlit(n.Right, nil)
3275 n.Left.Type = n.Right.Type
3279 // now that right is done, typecheck the left
3811 markbreak(n.Right, implicit)