- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for typecheckfunc (0.15 sec)
-
test/fixedbugs/issue17588.go
// license that can be found in the LICENSE file. // Issue 17588: internal compiler error in typecheckclosure() // because in case of Func.Nname.Type == nil, Decldepth // is not initialized in typecheckfunc(). This test // produces that case. package p type F func(b T) // ERROR "T .*is not a type|expected type" func T(fn F) { func() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 05 18:45:59 UTC 2021 - 569 bytes - Viewed (0) -
src/cmd/cgo/internal/testshared/testdata/issue25065/a.go
// 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. package issue25065 type T int func (t T) M() {} func F() func(*T) { return (*T).M
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 619 bytes - Viewed (0)