mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
bug252: make ... vs ...T crossing an error, at least for now
R=r CC=golang-dev https://golang.org/cl/199066
This commit is contained in:
parent
44898c7b76
commit
8bef7fdc39
2 changed files with 20 additions and 0 deletions
15
test/fixedbugs/bug252.go
Normal file
15
test/fixedbugs/bug252.go
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
// errchk $G $D/$F.go
|
||||
|
||||
// Copyright 2010 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
|
||||
|
||||
func f(args ...) {
|
||||
g(args) // ERROR "[.][.][.] mismatch"
|
||||
}
|
||||
|
||||
func g(args ...interface{}) {
|
||||
f(args) // ERROR "[.][.][.] mismatch"
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue