Source file src/go/types/badlinkname.go

     1  // Copyright 2024 The Go Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  package types
     6  
     7  import _ "unsafe"
     8  
     9  // This should properly be in infer.go, but that file is auto-generated.
    10  
    11  // infer should be an internal detail,
    12  // but widely used packages access it using linkname.
    13  // Notable members of the hall of shame include:
    14  //   - github.com/goplus/gox
    15  //
    16  // Do not remove or change the type signature.
    17  // See go.dev/issue/67401.
    18  //
    19  //go:linkname badlinkname_Checker_infer go/types.(*Checker).infer
    20  func badlinkname_Checker_infer(*Checker, positioner, []*TypeParam, []Type, *Tuple, []*operand, bool, *error_) []Type
    21  

View as plain text