1
0
mirror of https://github.com/golang/go synced 2024-11-21 20:14:52 -07:00
The Go programming language
Go to file
Ian Lance Taylor 001d9917f4 Match gccgo error messages.
I have to admit that "cannot use type p.T as type p.T" is a
bit weak.  8g gives a similar error ("cannot use v1 (type p.T)
as type p.T in assignment").

bug3.go:37:5: error: incompatible type in initialization (incompatible type for method ‘M’ (different parameter types))
bug3.go:38:5: error: incompatible type in initialization (incompatible type for method ‘M’ (different parameter types))
bug3.go:43:5: error: incompatible type in initialization (incompatible type for method ‘M’ (different parameter types))
bug3.go:44:5: error: incompatible type in initialization (incompatible type for method ‘M’ (different parameter types))
bug3.go:49:5: error: incompatible types in assignment (cannot use type p.T as type p.T)
bug3.go:50:5: error: incompatible types in assignment (cannot use type p.T as type p.T)
bug3.go:55:5: error: incompatible types in assignment (incompatible type for method ‘M’ (different parameter types))
bug3.go:56:5: error: incompatible types in assignment (incompatible type for method ‘M’ (different parameter types))
bug3.go:57:6: error: incompatible types in assignment (incompatible type for method ‘M’ (different parameter types))
bug3.go:58:6: error: incompatible types in assignment (incompatible type for method ‘M’ (different parameter types))
bug3.go:59:5: error: incompatible types in assignment (incompatible type for method ‘M’ (different parameter types))
bug3.go:60:5: error: incompatible types in assignment (incompatible type for method ‘M’ (different parameter types))
bug3.go:61:6: error: incompatible types in assignment (incompatible type for method ‘M’ (different parameter types))
bug3.go:62:6: error: incompatible types in assignment (incompatible type for method ‘M’ (different parameter types))

R=rsc
CC=golang-dev
https://golang.org/cl/199044
2010-02-01 16:25:55 -08:00
doc language FAQ entry on braces and semicolons 2010-02-01 20:45:29 +11:00
include libc: add goos, goarch, goroot. fixes build 2010-01-19 09:08:05 -08:00
lib codereview: make sure each mail has a reviewer 2010-01-28 12:48:21 -08:00
misc dashboard: avoid seeing cron's sh -c in ps check 2010-02-01 11:36:44 -08:00
pkg more description 2009-10-15 23:08:46 -07:00
src gc: final ...T bug for the day 2010-02-01 16:22:16 -08:00
test Match gccgo error messages. 2010-02-01 16:25:55 -08:00
.hgignore Replicate signal names from syscall in os/signal. 2010-01-11 11:23:46 -08:00
.hgtags release.2010-01-27, take 2 2010-01-27 18:31:54 -08:00
AUTHORS A+C: add Icarus Sparry (individual CLA) 2010-01-26 13:15:53 -08:00
CONTRIBUTORS A+C: add Icarus Sparry (individual CLA) 2010-01-26 13:15:53 -08:00
favicon.ico add a favicon plus a couple of hi-res versions of gordon 2009-10-26 10:13:07 -07:00
LICENSE Add an explicit patent grant to the Go license. 2010-01-25 15:39:32 -08:00
README add a README file, so that if someone finds a 2009-11-08 09:57:37 -08:00

This is the source code repository for the Go programming language.  

For documentation about how to install and use Go,
visit http://golang.org/ or load doc/install.html in your web browser.

After installing Go, you can view a nicely formatted
doc/install.html by running godoc --http=:6060
and then visiting http://localhost:6060/doc/install.html.

Unless otherwise noted, the Go source files are distributed
under the BSD-style license found in the LICENSE file.