📂 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 main import ( "./a" "./b" ) func main() { switch b.I.(type) { case a.G[b.T]: case int: panic("bad") case float64: panic("bad") default: panic("bad") } b.F(a.G[b.T]{}) }
💾 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