...

Package issue25065

import "cmd/cgo/internal/testshared/testdata/issue25065"
Overview
Index

Overview ▾

Package issue25065 has a type with a method that is

  1. referenced in a method expression
  2. not called
  3. not converted to an interface
  4. is a value method but the reference is to the pointer method

These cases avoid the call to makefuncsym from typecheckfunc, but we still need to call makefuncsym somehow or the symbol will not be defined.

Index ▾

Package files

a.go

func F

func F() func(*T)

type T

type T int

func (T) M

func (t T) M()