📂 FileMgr
📍
/
opt
/
golang
/
1.22.0
/
test
/
typeparam
/
issue51250a.dir
✏️ /
⬅ Kembali
// Copyright 2022 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package b import "./a" type T struct { a int } var I interface{} = a.G[T]{} //go:noinline func F(x interface{}) { switch x.(type) { case a.G[T]: case int: panic("bad") case float64: panic("bad") default: panic("bad") } }
💾 Simpan
Batal
⬅ typeparam
3 item
Nama
Tipe
Ukuran
Diubah
Aksi
🔵
a.go
go
201 B
2024-02-02 18:09
✏️
👁️
🔤
🗑
🔵
b.go
go
397 B
2024-02-02 18:09
✏️
👁️
🔤
🗑
🔵
main.go
go
355 B
2024-02-02 18:09
✏️
👁️
🔤
🗑
✏️ Rename
Nama Baru
Simpan
Batal