Source file test/fixedbugs/issue45344.go
1 // compile 2 3 // Copyright 2021 The Go Authors. All rights reserved. 4 // Use of this source code is governed by a BSD-style 5 // license that can be found in the LICENSE file. 6 7 // Issue 45344: expand_calls does not handle direct interface 8 // typed argument well. 9 10 package p 11 12 type T struct { 13 a map[int]int 14 } 15 16 func F(t T) { 17 G(t) 18 } 19 20 func G(...interface{}) 21