Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for typecheckrangeExpr (0.16 sec)

  1. src/cmd/compile/internal/typecheck/stmt.go

    	"cmd/internal/src"
    	"internal/types/errors"
    )
    
    func RangeExprType(t *types.Type) *types.Type {
    	if t.IsPtr() && t.Elem().IsArray() {
    		return t.Elem()
    	}
    	return t
    }
    
    func typecheckrangeExpr(n *ir.RangeStmt) {
    }
    
    // type check assignment.
    // if this assignment is the definition of a var on the left side,
    // fill in the var's type.
    func tcAssign(n *ir.AssignStmt) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 15:10:54 UTC 2023
    - 17.8K bytes
    - Viewed (0)
Back to top