Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for setValueType (0.09 sec)

  1. src/cmd/compile/internal/rangefunc/rewrite.go

    	}
    	nif := &syntax.IfStmt{
    		Cond: r.cond(op, r.next(), r.intConst(c)),
    		Then: &syntax.BlockStmt{
    			List: thenList,
    		},
    	}
    	return nif
    }
    
    // setValueType marks x as a value with type typ.
    func setValueType(x syntax.Expr, typ syntax.Type) {
    	tv := syntax.TypeAndValue{Type: typ}
    	tv.SetIsValue()
    	x.SetTypeInfo(tv)
    }
    
    // assertReady returns the statement:
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:05:44 UTC 2024
    - 41.6K bytes
    - Viewed (0)
Back to top