- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for assertptr2 (0.17 sec)
-
test/interface/assertinline.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package p func assertptr(x interface{}) *int { return x.(*int) // ERROR "type assertion inlined" } func assertptr2(x interface{}) (*int, bool) { z, ok := x.(*int) // ERROR "type assertion inlined" return z, ok } func assertfunc(x interface{}) func() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 02 21:33:03 UTC 2016 - 1.8K bytes - Viewed (0)