Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for okLHS (0.07 sec)

  1. src/go/types/assignments.go

    	// resulting in 2 or more values; otherwise we have an assignment mismatch.
    	if r != 1 {
    		// Only report a mismatch error if there are no other errors on the lhs or rhs.
    		okLHS := check.useLHS(lhs...)
    		okRHS := check.use(orig_rhs...)
    		if okLHS && okRHS {
    			check.assignError(orig_rhs, l, r)
    		}
    		return
    	}
    
    	rhs, commaOk := check.multiExpr(orig_rhs[0], l == 2)
    	r = len(rhs)
    	if l == r {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/assignments.go

    	// resulting in 2 or more values; otherwise we have an assignment mismatch.
    	if r != 1 {
    		// Only report a mismatch error if there are no other errors on the lhs or rhs.
    		okLHS := check.useLHS(lhs...)
    		okRHS := check.use(orig_rhs...)
    		if okLHS && okRHS {
    			check.assignError(orig_rhs, l, r)
    		}
    		return
    	}
    
    	rhs, commaOk := check.multiExpr(orig_rhs[0], l == 2)
    	r = len(rhs)
    	if l == r {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 23 21:21:43 UTC 2024
    - 16.4K bytes
    - Viewed (0)
Back to top