Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for singleIndex (0.11 sec)

  1. src/cmd/compile/internal/types2/index.go

    					break L // only report one error, ok to continue
    				}
    			}
    		}
    	}
    }
    
    // singleIndex returns the (single) index from the index expression e.
    // If the index is missing, or if there are multiple indices, an error
    // is reported and the result is nil.
    func (check *Checker) singleIndex(e *syntax.IndexExpr) syntax.Expr {
    	index := e.Index
    	if index == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 15 16:16:58 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  2. src/go/types/index.go

    					break L // only report one error, ok to continue
    				}
    			}
    		}
    	}
    }
    
    // singleIndex returns the (single) index from the index expression e.
    // If the index is missing, or if there are multiple indices, an error
    // is reported and the result is nil.
    func (check *Checker) singleIndex(expr *typeparams.IndexExpr) ast.Expr {
    	if len(expr.Indices) == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 16:17:05 UTC 2024
    - 11.2K bytes
    - Viewed (0)
Back to top