]> Cypherpunks.ru repositories - gostls13.git/commitdiff
... changes
authorRuss Cox <rsc@golang.org>
Fri, 24 Sep 2010 15:55:48 +0000 (11:55 -0400)
committerRuss Cox <rsc@golang.org>
Fri, 24 Sep 2010 15:55:48 +0000 (11:55 -0400)
R=golang-dev, gri
CC=golang-dev
https://golang.org/cl/2273042

29 files changed:
src/cmd/cgo/util.go
src/cmd/goyacc/goyacc.go
src/pkg/encoding/ascii85/ascii85_test.go
src/pkg/encoding/base64/base64_test.go
src/pkg/encoding/git85/git_test.go
src/pkg/exp/datafmt/datafmt.go
src/pkg/exp/datafmt/datafmt_test.go
src/pkg/exp/eval/compiler.go
src/pkg/exp/eval/expr.go
src/pkg/exp/eval/stmt.go
src/pkg/fmt/print.go
src/pkg/fmt/scan.go
src/pkg/go/ast/print.go
src/pkg/go/parser/parser.go
src/pkg/go/printer/printer.go
src/pkg/go/typechecker/typechecker.go
src/pkg/log/log.go
src/pkg/net/textproto/textproto.go
src/pkg/net/textproto/writer.go
src/pkg/netchan/export.go
src/pkg/netchan/import.go
src/pkg/nntp/nntp.go
src/pkg/path/path_test.go
src/pkg/template/template.go
src/pkg/testing/testing.go
test/bench/pidigits.go
test/ddd.go
test/defer.go
test/fixedbugs/bug252.go

index 3911982951c5172b6a01ec39fa6e84c286e7d9b6..5c7fc7205c5065bf4f58db7ff2aea3d9fcb4e8c2 100644 (file)
@@ -67,7 +67,7 @@ func run(stdin []byte, argv []string) (stdout, stderr []byte, ok bool) {
 
 // Die with an error message.
 func fatal(msg string, args ...interface{}) {
-       fmt.Fprintf(os.Stderr, msg+"\n", args)
+       fmt.Fprintf(os.Stderr, msg+"\n", args...)
        os.Exit(2)
 }
 
@@ -79,7 +79,7 @@ func error(pos token.Position, msg string, args ...interface{}) {
        if pos.IsValid() {
                fmt.Fprintf(os.Stderr, "%s: ", pos)
        }
-       fmt.Fprintf(os.Stderr, msg, args)
+       fmt.Fprintf(os.Stderr, msg, args...)
        fmt.Fprintf(os.Stderr, "\n")
 }
 
index 45dced1b3e84f6530592a06dffc84388caecfc6f..ff7dcd2501fec99f5f34c90248a11e858ea55d1e 100644 (file)
@@ -3052,7 +3052,7 @@ func create(s string, m uint32) *bufio.Writer {
 //
 func error(s string, v ...interface{}) {
        nerrors++
-       fmt.Fprintf(stderr, s, v)
+       fmt.Fprintf(stderr, s, v...)
        fmt.Fprintf(stderr, ": %v:%v\n", infile, lineno)
        if fatfl != 0 {
                summary()
index 738e1cc1bd0b5797036604dfff8d182b9fd8c727..d3e9d501a7f00727a571117bda42ab638e81c5df 100644 (file)
@@ -34,7 +34,7 @@ var bigtest = pairs[len(pairs)-1]
 
 func testEqual(t *testing.T, msg string, args ...interface{}) bool {
        if args[len(args)-2] != args[len(args)-1] {
-               t.Errorf(msg, args)
+               t.Errorf(msg, args...)
                return false
        }
        return true
index c14785f1b45189c381768536b395ab22522622c3..de96b5cc535913a1c7d05a3423902cb5d0e44cae 100644 (file)
@@ -48,7 +48,7 @@ var bigtest = testpair{
 
 func testEqual(t *testing.T, msg string, args ...interface{}) bool {
        if args[len(args)-2] != args[len(args)-1] {
-               t.Errorf(msg, args)
+               t.Errorf(msg, args...)
                return false
        }
        return true
index a31f14d3cf997582ba7352ac0cec7678211043ca..2c6c157433b4577c70766fac9cf3472c4af03633 100644 (file)
@@ -17,7 +17,7 @@ type testpair struct {
 
 func testEqual(t *testing.T, msg string, args ...interface{}) bool {
        if args[len(args)-2] != args[len(args)-1] {
-               t.Errorf(msg, args)
+               t.Errorf(msg, args...)
                return false
        }
        return true
index e77f445b5a272c804a9ec83813d9c57095aa3f84..979dedd973848dea54e8f5a2e288b14f9d3edad6 100644 (file)
@@ -697,7 +697,7 @@ func (f Format) Eval(env Environment, args ...interface{}) ([]byte, os.Error) {
 // written and an os.Error, if any.
 //
 func (f Format) Fprint(w io.Writer, env Environment, args ...interface{}) (int, os.Error) {
-       data, err := f.Eval(env, args)
+       data, err := f.Eval(env, args...)
        if err != nil {
                // TODO should we print partial result in case of error?
                return 0, err
@@ -711,7 +711,7 @@ func (f Format) Fprint(w io.Writer, env Environment, args ...interface{}) (int,
 // number of bytes written and an os.Error, if any.
 //
 func (f Format) Print(args ...interface{}) (int, os.Error) {
-       return f.Fprint(os.Stdout, nil, args)
+       return f.Fprint(os.Stdout, nil, args...)
 }
 
 
@@ -722,7 +722,7 @@ func (f Format) Print(args ...interface{}) (int, os.Error) {
 //
 func (f Format) Sprint(args ...interface{}) string {
        var buf bytes.Buffer
-       _, err := f.Fprint(&buf, nil, args)
+       _, err := f.Fprint(&buf, nil, args...)
        if err != nil {
                var i interface{} = args
                fmt.Fprintf(&buf, "--- Sprint(%s) failed: %v", fmt.Sprint(i), err)
index 9088947178bda2fd2039f93439beb92e06f4e403..66794cfde5d31cc2b4d8c0a47e77abbc27fc6094 100644 (file)
@@ -24,7 +24,7 @@ func verify(t *testing.T, f Format, expected string, args ...interface{}) {
        if f == nil {
                return // allow other tests to run
        }
-       result := f.Sprint(args)
+       result := f.Sprint(args...)
        if result != expected {
                t.Errorf(
                        "result  : `%s`\nexpected: `%s`\n\n",
@@ -97,7 +97,7 @@ func check(t *testing.T, form, expected string, args ...interface{}) {
        if f == nil {
                return // allow other tests to run
        }
-       result := f.Sprint(args)
+       result := f.Sprint(args...)
        if result != expected {
                t.Errorf(
                        "format  : %s\nresult  : `%s`\nexpected: `%s`\n\n",
index 3e37bfbaa5c13c7567cdb1b175d568723438697a..764df8e7d206405720eb599abe993e6a3f23bc66 100644 (file)
@@ -28,7 +28,7 @@ type compiler struct {
 }
 
 func (a *compiler) diagAt(pos positioned, format string, args ...interface{}) {
-       a.errors.Error(pos.Pos(), fmt.Sprintf(format, args))
+       a.errors.Error(pos.Pos(), fmt.Sprintf(format, args...))
        a.numErrors++
 }
 
index 9054ad8fbee88395d1e9554fd0e796af52c51662..8a051495cef7320984a644ce83220e5307e9a10e 100644 (file)
@@ -65,7 +65,7 @@ func (a *exprInfo) newExpr(t Type, desc string) *expr {
 }
 
 func (a *exprInfo) diag(format string, args ...interface{}) {
-       a.diagAt(&a.pos, format, args)
+       a.diagAt(&a.pos, format, args...)
 }
 
 func (a *exprInfo) diagOpType(op token.Token, vt Type) {
index 95ddbea65b1f3c5de9572f36bef6a7a980843957..2c63890ff37385ba6d4ff67f69aee76e3d2ba795 100644 (file)
@@ -28,7 +28,7 @@ type stmtCompiler struct {
 }
 
 func (a *stmtCompiler) diag(format string, args ...interface{}) {
-       a.diagAt(&a.pos, format, args)
+       a.diagAt(&a.pos, format, args...)
 }
 
 /*
index 33095627dcd9b408e170feb0826579c7fb6ccffa..8fcde73fe21ad075411b673ad839527edb9f4b74 100644 (file)
@@ -146,7 +146,7 @@ func Fprintf(w io.Writer, format string, a ...interface{}) (n int, error os.Erro
 // Printf formats according to a format specifier and writes to standard output.
 // It returns the number of bytes written and any write error encountered.
 func Printf(format string, a ...interface{}) (n int, errno os.Error) {
-       n, errno = Fprintf(os.Stdout, format, a)
+       n, errno = Fprintf(os.Stdout, format, a...)
        return n, errno
 }
 
@@ -176,7 +176,7 @@ func Fprint(w io.Writer, a ...interface{}) (n int, error os.Error) {
 // Spaces are added between operands when neither is a string.
 // It returns the number of bytes written and any write error encountered.
 func Print(a ...interface{}) (n int, errno os.Error) {
-       n, errno = Fprint(os.Stdout, a)
+       n, errno = Fprint(os.Stdout, a...)
        return n, errno
 }
 
@@ -209,7 +209,7 @@ func Fprintln(w io.Writer, a ...interface{}) (n int, error os.Error) {
 // Spaces are always added between operands and a newline is appended.
 // It returns the number of bytes written and any write error encountered.
 func Println(a ...interface{}) (n int, errno os.Error) {
-       n, errno = Fprintln(os.Stdout, a)
+       n, errno = Fprintln(os.Stdout, a...)
        return n, errno
 }
 
index fefd556c7e259586eb31dcb8253e8b644de8bd27..41a12d9957d5856bf8fcdcd964ab71b0786baecc 100644 (file)
@@ -60,20 +60,20 @@ type Scanner interface {
 // as space.  It returns the number of items successfully scanned.
 // If that is less than the number of arguments, err will report why.
 func Scan(a ...interface{}) (n int, err os.Error) {
-       return Fscan(os.Stdin, a)
+       return Fscan(os.Stdin, a...)
 }
 
 // Scanln is similar to Scan, but stops scanning at a newline and
 // after the final item there must be a newline or EOF.
 func Scanln(a ...interface{}) (n int, err os.Error) {
-       return Fscanln(os.Stdin, a)
+       return Fscanln(os.Stdin, a...)
 }
 
 // Scanf scans text read from standard input, storing successive
 // space-separated values into successive arguments as determined by
 // the format.  It returns the number of items successfully scanned.
 func Scanf(format string, a ...interface{}) (n int, err os.Error) {
-       return Fscanf(os.Stdin, format, a)
+       return Fscanf(os.Stdin, format, a...)
 }
 
 // Sscan scans the argument string, storing successive space-separated
@@ -81,20 +81,20 @@ func Scanf(format string, a ...interface{}) (n int, err os.Error) {
 // returns the number of items successfully scanned.  If that is less
 // than the number of arguments, err will report why.
 func Sscan(str string, a ...interface{}) (n int, err os.Error) {
-       return Fscan(strings.NewReader(str), a)
+       return Fscan(strings.NewReader(str), a...)
 }
 
 // Sscanln is similar to Sscan, but stops scanning at a newline and
 // after the final item there must be a newline or EOF.
 func Sscanln(str string, a ...interface{}) (n int, err os.Error) {
-       return Fscanln(strings.NewReader(str), a)
+       return Fscanln(strings.NewReader(str), a...)
 }
 
 // Sscanf scans the argument string, storing successive space-separated
 // values into successive arguments as determined by the format.  It
 // returns the number of items successfully parsed.
 func Sscanf(str string, format string, a ...interface{}) (n int, err os.Error) {
-       return Fscanf(strings.NewReader(str), format, a)
+       return Fscanf(strings.NewReader(str), format, a...)
 }
 
 // Fscan scans text read from r, storing successive space-separated
index b477ebc86c466502be9cfc5238d1f12f69f4a660..d71490d4a9ff440bb2c032987894ab0d0c4d50d9 100644 (file)
@@ -124,7 +124,7 @@ type localError struct {
 
 // printf is a convenience wrapper that takes care of print errors.
 func (p *printer) printf(format string, args ...interface{}) {
-       n, err := fmt.Fprintf(p, format, args)
+       n, err := fmt.Fprintf(p, format, args...)
        p.written += n
        if err != nil {
                panic(localError{err})
index e13640a91a4ea019d33790be87b702c27b7c1281..b20cf10b8af193c5177704c9f75f44801d296cf1 100644 (file)
@@ -90,7 +90,7 @@ func (p *parser) printTrace(a ...interface{}) {
                fmt.Print(dots)
        }
        fmt.Print(dots[0:i])
-       fmt.Println(a)
+       fmt.Println(a...)
 }
 
 
index 3e6299da77a409c8509461cd1199066b401c41b9..b985f6ed3e21e9fcce4320b0fa3bcc5bcfead905 100644 (file)
@@ -105,7 +105,7 @@ func (p *printer) init(output io.Writer, cfg *Config) {
 func (p *printer) internalError(msg ...interface{}) {
        if debug {
                fmt.Print(p.pos.String() + ": ")
-               fmt.Println(msg)
+               fmt.Println(msg...)
                panic("go/printer")
        }
 }
index f8b05ddb4f712f3c9d0e844ba0eae200557329d4..64b429d1256827acbdc6ae3aa562738facbfa557 100644 (file)
@@ -70,7 +70,7 @@ type typechecker struct {
 
 
 func (tc *typechecker) Errorf(pos token.Position, format string, args ...interface{}) {
-       tc.Error(pos, fmt.Sprintf(format, args))
+       tc.Error(pos, fmt.Sprintf(format, args...))
 }
 
 
index 28d6204eb68ecee3e5525f18eb2c584426253bf4..f6612205fb8f379bc8427c125a58113933a26592 100644 (file)
@@ -150,32 +150,32 @@ func (l *Logger) Output(calldepth int, s string) os.Error {
 
 // Logf is analogous to Printf() for a Logger.
 func (l *Logger) Logf(format string, v ...interface{}) {
-       l.Output(2, fmt.Sprintf(format, v))
+       l.Output(2, fmt.Sprintf(format, v...))
 }
 
 // Log is analogous to Print() for a Logger.
-func (l *Logger) Log(v ...interface{}) { l.Output(2, fmt.Sprintln(v)) }
+func (l *Logger) Log(v ...interface{}) { l.Output(2, fmt.Sprintln(v...)) }
 
 // Stdout is a helper function for easy logging to stdout. It is analogous to Print().
-func Stdout(v ...interface{}) { stdout.Output(2, fmt.Sprint(v)) }
+func Stdout(v ...interface{}) { stdout.Output(2, fmt.Sprint(v...)) }
 
 // Stderr is a helper function for easy logging to stderr. It is analogous to Fprint(os.Stderr).
-func Stderr(v ...interface{}) { stderr.Output(2, fmt.Sprintln(v)) }
+func Stderr(v ...interface{}) { stderr.Output(2, fmt.Sprintln(v...)) }
 
 // Stdoutf is a helper functions for easy formatted logging to stdout. It is analogous to Printf().
-func Stdoutf(format string, v ...interface{}) { stdout.Output(2, fmt.Sprintf(format, v)) }
+func Stdoutf(format string, v ...interface{}) { stdout.Output(2, fmt.Sprintf(format, v...)) }
 
 // Stderrf is a helper function for easy formatted logging to stderr. It is analogous to Fprintf(os.Stderr).
-func Stderrf(format string, v ...interface{}) { stderr.Output(2, fmt.Sprintf(format, v)) }
+func Stderrf(format string, v ...interface{}) { stderr.Output(2, fmt.Sprintf(format, v...)) }
 
 // Exit is equivalent to Stderr() followed by a call to os.Exit(1).
-func Exit(v ...interface{}) { exit.Output(2, fmt.Sprintln(v)) }
+func Exit(v ...interface{}) { exit.Output(2, fmt.Sprintln(v...)) }
 
 // Exitf is equivalent to Stderrf() followed by a call to os.Exit(1).
-func Exitf(format string, v ...interface{}) { exit.Output(2, fmt.Sprintf(format, v)) }
+func Exitf(format string, v ...interface{}) { exit.Output(2, fmt.Sprintf(format, v...)) }
 
 // Crash is equivalent to Stderr() followed by a call to panic().
-func Crash(v ...interface{}) { crash.Output(2, fmt.Sprintln(v)) }
+func Crash(v ...interface{}) { crash.Output(2, fmt.Sprintln(v...)) }
 
 // Crashf is equivalent to Stderrf() followed by a call to panic().
-func Crashf(format string, v ...interface{}) { crash.Output(2, fmt.Sprintf(format, v)) }
+func Crashf(format string, v ...interface{}) { crash.Output(2, fmt.Sprintf(format, v...)) }
index 694af1829ee1077d5cf8eb9b5925bf36ceee9167..f62009c523b766939913a57b248b53bde0f84237 100644 (file)
@@ -113,7 +113,7 @@ func Dial(network, addr string) (*Conn, os.Error) {
 func (c *Conn) Cmd(format string, args ...interface{}) (id uint, err os.Error) {
        id = c.Next()
        c.StartRequest(id)
-       err = c.PrintfLine(format, args)
+       err = c.PrintfLine(format, args...)
        c.EndRequest(id)
        if err != nil {
                return 0, err
index b99b0144d75492f3c57486dd9f5e3f1f5e8b5639..4e705f6c3ea1c89399a00dfaccb845e4d5837a9e 100644 (file)
@@ -29,7 +29,7 @@ var dotcrnl = []byte{'.', '\r', '\n'}
 // PrintfLine writes the formatted output followed by \r\n.
 func (w *Writer) PrintfLine(format string, args ...interface{}) os.Error {
        w.closeDot()
-       fmt.Fprintf(w.W, format, args)
+       fmt.Fprintf(w.W, format, args...)
        w.W.Write(crnl)
        return w.W.Flush()
 }
index 73a070c95cec8edc6d5a46f8cf64ac6ca26fa7bd..2d70aeddf0db260d5c11e50e5754b8e2879cd677 100644 (file)
@@ -34,7 +34,7 @@ import (
 // expLog is a logging convenience function.  The first argument must be a string.
 func expLog(args ...interface{}) {
        args[0] = "netchan export: " + args[0].(string)
-       log.Stderr(args)
+       log.Stderr(args...)
 }
 
 // An Exporter allows a set of channels to be published on a single
index 48fdb7bad9c320d48772e96ea11719c9842ba518..fadfc7a99b6f07c133d7033231cfef08b962c142 100644 (file)
@@ -17,7 +17,7 @@ import (
 // impLog is a logging convenience function.  The first argument must be a string.
 func impLog(args ...interface{}) {
        args[0] = "netchan import: " + args[0].(string)
-       log.Stderr(args)
+       log.Stderr(args...)
 }
 
 // An Importer allows a set of channels to be imported from a single
index 8f343dc8f8cba262d6c8870c570623ea0e52d419..ce7a2ccd2d5fe89c9d53f144bae4f4ffdf2cffba 100644 (file)
@@ -270,7 +270,7 @@ func (c *Conn) cmd(expectCode uint, format string, args ...interface{}) (code ui
                }
                c.br = nil
        }
-       if _, err := fmt.Fprintf(c.conn, format+"\r\n", args); err != nil {
+       if _, err := fmt.Fprintf(c.conn, format+"\r\n", args...); err != nil {
                return 0, "", err
        }
        line, err = c.r.ReadString('\n')
index 513dcd967c469ce7df1a5316767142fe7b2663ec..592e696b52743749443d2160d80360cd41427b43 100644 (file)
@@ -118,7 +118,7 @@ var jointests = []JoinTest{
 // join takes a []string and passes it to Join.
 func join(elem []string, args ...string) string {
        args = elem
-       return Join(args)
+       return Join(args...)
 }
 
 func TestJoin(t *testing.T) {
index d4640fabb1df8f8eb36eb91e4ba13aa5715b67f5..0defe948fe3b7cb44f83ec318324935b370d7ec2 100644 (file)
@@ -185,13 +185,13 @@ func New(fmap FormatterMap) *Template {
 
 // Report error and stop executing.  The line number must be provided explicitly.
 func (t *Template) execError(st *state, line int, err string, args ...interface{}) {
-       panic(&Error{line, fmt.Sprintf(err, args)})
+       panic(&Error{line, fmt.Sprintf(err, args...)})
 }
 
 // Report error, panic to terminate parsing.
 // The line number comes from the template state.
 func (t *Template) parseError(err string, args ...interface{}) {
-       panic(&Error{t.linenum, fmt.Sprintf(err, args)})
+       panic(&Error{t.linenum, fmt.Sprintf(err, args...)})
 }
 
 // -- Lexical analysis
index 763b65b05c5bf1bb552cc8194e2b7d926ad5d1aa..a3a7e5994d6db9f993a971cf5ac330a683262d76 100644 (file)
@@ -89,35 +89,35 @@ func (t *T) FailNow() {
 
 // Log formats its arguments using default formatting, analogous to Print(),
 // and records the text in the error log.
-func (t *T) Log(args ...interface{}) { t.errors += "\t" + tabify(fmt.Sprintln(args)) }
+func (t *T) Log(args ...interface{}) { t.errors += "\t" + tabify(fmt.Sprintln(args...)) }
 
 // Log formats its arguments according to the format, analogous to Printf(),
 // and records the text in the error log.
 func (t *T) Logf(format string, args ...interface{}) {
-       t.errors += "\t" + tabify(fmt.Sprintf(format, args))
+       t.errors += "\t" + tabify(fmt.Sprintf(format, args...))
 }
 
 // Error is equivalent to Log() followed by Fail().
 func (t *T) Error(args ...interface{}) {
-       t.Log(args)
+       t.Log(args...)
        t.Fail()
 }
 
 // Errorf is equivalent to Logf() followed by Fail().
 func (t *T) Errorf(format string, args ...interface{}) {
-       t.Logf(format, args)
+       t.Logf(format, args...)
        t.Fail()
 }
 
 // Fatal is equivalent to Log() followed by FailNow().
 func (t *T) Fatal(args ...interface{}) {
-       t.Log(args)
+       t.Log(args...)
        t.FailNow()
 }
 
 // Fatalf is equivalent to Logf() followed by FailNow().
 func (t *T) Fatalf(format string, args ...interface{}) {
-       t.Logf(format, args)
+       t.Logf(format, args...)
        t.FailNow()
 }
 
index dcfb502ce2a65255c73b1603934dd5845efd490d..55da379438cf513ae0d839edebbe216415006e23 100644 (file)
@@ -100,7 +100,7 @@ func eliminate_digit(d int64) {
 
 func printf(s string, arg ...interface{}) {
        if !*silent {
-               fmt.Printf(s, arg)
+               fmt.Printf(s, arg...)
        }
 }
 
index c9949c36e2079d058aa9cb00d9e63429de5f2868..92a3a318a3af6cb05d2eefad2e7735d3f5b8ab4f 100644 (file)
@@ -14,13 +14,13 @@ func sum(args ...int) int {
        return s
 }
 
-func sumC(args ...int) int { return func() int { return sum(args) }() }
+func sumC(args ...int) int { return func() int { return sum(args...) }() }
 
-var sumD = func(args ...int) int { return sum(args) }
+var sumD = func(args ...int) int { return sum(args...) }
 
-var sumE = func() func(...int) int { return func(args ...int) int { return sum(args) } }()
+var sumE = func() func(...int) int { return func(args ...int) int { return sum(args...) } }()
 
-var sumF = func(args ...int) func() int { return func() int { return sum(args) } }
+var sumF = func(args ...int) func() int { return func() int { return sum(args...) } }
 
 func sumA(args []int) int {
        s := 0
@@ -30,7 +30,7 @@ func sumA(args []int) int {
        return s
 }
 
-func sum2(args ...int) int { return 2 * sum(args) }
+func sum2(args ...int) int { return 2 * sum(args...) }
 
 func sum3(args ...int) int { return 3 * sumA(args) }
 
@@ -46,9 +46,9 @@ type T []T
 
 func ln(args ...T) int { return len(args) }
 
-func ln2(args ...T) int { return 2 * ln(args) }
+func ln2(args ...T) int { return 2 * ln(args...) }
 
-func (*T) Sum(args ...int) int { return sum(args) }
+func (*T) Sum(args ...int) int { return sum(args...) }
 
 type U struct {
        *T
index 8b8312235d1c2f7d99d27bb49637ef1b1376cb19..bef8fbe26a6cd7a187269933acdfd84050296a28 100644 (file)
@@ -26,7 +26,7 @@ func test1() {
        }
 }
 
-func addDotDotDot(v ...interface{}) { result += fmt.Sprint(v) }
+func addDotDotDot(v ...interface{}) { result += fmt.Sprint(v...) }
 
 func test2helper() {
        for i := 0; i < 10; i++ {
index bd11b86ebf688aee9e81bd6d5624c6a64099d690..5615f84fa1dceabcff7a7cb3d8461d1e459cb105 100644 (file)
@@ -7,9 +7,9 @@
 package main
 
 func f(args ...int) {
-       g(args) // ERROR "[.][.][.] mismatch"
+       g(args) // ERROR "[.][.][.]"
 }
 
 func g(args ...interface{}) {
-       f(args) // ERROR "[.][.][.] mismatch"
+       f(args) // ERROR "[.][.][.]"
 }