Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Inference (0.15 sec)

  1. doc/go_spec.html

    </p>
    
    <h3 id="Type_inference">Type inference</h3>
    
    <p>
    A use of a generic function may omit some or all type arguments if they can be
    <i>inferred</i> from the context within which the function is used, including
    the constraints of the function's type parameters.
    Type inference succeeds if it can infer the missing type arguments
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu May 02 22:43:51 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  2. doc/next/3-tools.md

    by the `go` directive in the file's enclosing `go.mod` file, and
    by any [`//go:build` constraints](https://pkg.go.dev/cmd/go#hdr-Build_constraints)
    in the file.)
    
    For example, it will report a diagnostic for a reference to the
    `reflect.TypeFor` function (introduced in go1.22) from a file in a
    module whose go.mod file specifies `go 1.21`.
    
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri May 03 01:02:40 GMT 2024
    - 977 bytes
    - Viewed (0)
Back to top