Age | Commit message (Collapse) | Author | Files | Lines |
|
Fixes issue 700.
R=ken2
CC=golang-dev
http://codereview.appspot.com/839041
|
|
R=ken2
CC=golang-dev
http://codereview.appspot.com/748041
|
|
in the tests, println+panic.
gofmt some tests too.
R=rsc
CC=golang-dev
http://codereview.appspot.com/741041
|
|
Fixes issue 654.
R=ken2
CC=golang-dev
http://codereview.appspot.com/310041
|
|
R=ken2
CC=golang-dev
http://codereview.appspot.com/223069
|
|
Fixes issue 287.
R=ken2
CC=golang-dev
http://codereview.appspot.com/215048
|
|
Fixes issue 602.
R=ken2
CC=golang-dev
http://codereview.appspot.com/212045
|
|
Fixes issue 582.
Update issue 287
Status: Accepted
Bug fix was too intrusive; undo and reopen issue.
R=ken2
CC=golang-dev
http://codereview.appspot.com/209044
|
|
R=ken2
CC=golang-dev
http://codereview.appspot.com/207106
|
|
Fixes issue 587.
R=ken2
CC=golang-dev
http://codereview.appspot.com/207085
|
|
gccgo gets this wrong at the moment.
R=rsc
CC=golang-dev
http://codereview.appspot.com/205044
|
|
bug251.go:11:2: error: invalid recursive interface
R=rsc
CC=golang-dev
http://codereview.appspot.com/204052
|
|
bug121.go:12:3: error: name list not allowed in interface type
bug121.go:16:2: error: expected signature or type name
semi1.go:10:76: error: unexpected semicolon or newline before ‘{’
semi1.go:10:5: error: reference to undefined name ‘x’
semi1.go:10:8: error: reference to undefined name ‘y’
semi1.go:12:3: error: reference to undefined name ‘z’
semi2.go:10:79: error: unexpected semicolon or newline before ‘{’
semi2.go:10:9: error: reference to undefined name ‘x’
semi3.go:10:79: error: unexpected semicolon or newline before ‘{’
semi3.go:10:6: error: reference to undefined name ‘x’
semi3.go:10:9: error: reference to undefined name ‘y’
semi3.go:10:12: error: reference to undefined name ‘z’
semi3.go:12:3: error: reference to undefined name ‘z’
semi4.go:11:2: error: unexpected semicolon or newline before ‘{’
semi4.go:10:6: error: reference to undefined name ‘x’
semi4.go:12:3: error: reference to undefined name ‘z’
semi5.go:10:1: error: unexpected semicolon or newline before ‘{’
semi7.go:11:2: error: unexpected semicolon or newline before ‘else’
semi7.go:10:5: error: reference to undefined name ‘x’
slice.go:9:11: error: missing lower bound in slice expression
slice.go:9:9: error: reference to undefined name ‘y’
slice.go:9:12: error: reference to undefined name ‘z’
R=rsc
CC=golang-dev
http://codereview.appspot.com/201061
|
|
R=r
CC=golang-dev
http://codereview.appspot.com/199066
|
|
Fixes issue 287.
R=ken2
CC=golang-dev
http://codereview.appspot.com/199057
|
|
bug249.go:10:5: error: incompatible type in initialization
bug249.go:26:5: error: incompatible type in initialization
R=rsc
CC=golang-dev
http://codereview.appspot.com/198058
|
|
R=ken2
CC=golang-dev
http://codereview.appspot.com/198057
|
|
R=ken2
CC=golang-dev
http://codereview.appspot.com/198053
|
|
R=rsc
CC=golang-dev
http://codereview.appspot.com/198046
|
|
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
http://codereview.appspot.com/199044
|
|
bug238.go:11:7: error: invalid constant type
bug238.go:12:7: error: invalid constant type
bug238.go:13:7: error: invalid constant type
bug238.go:14:7: error: invalid constant type
bug238.go:15:7: error: invalid constant type
bug238.go:16:7: error: invalid constant type
bug238.go:17:7: error: invalid constant type
R=rsc
CC=golang-dev
http://codereview.appspot.com/194159
|
|
bug231.go:20:4: error: incompatible types in assignment (type has no methods)
R=rsc
CC=golang-dev
http://codereview.appspot.com/194156
|
|
bug228.go:11:25: error: invalid use of ‘...’
bug228.go:13:13: error: ‘...’ only permits one name
bug228.go:15:20: error: ‘...’ must be last parameter
bug228.go:17:7: error: expected type
bug228.go:19:8: error: expected type
R=rsc
CC=golang-dev
http://codereview.appspot.com/196077
|
|
also allow func() func().
R=ken2
CC=golang-dev
http://codereview.appspot.com/194078
|
|
bonus: type switch now detects multiple uses of identical interface types.
bonus: interface types are now order-independent, following the spec.
R=ken2
CC=golang-dev
http://codereview.appspot.com/194053
|
|
(package main; others are pulled in automatically)
R=ken2
CC=golang-dev
http://codereview.appspot.com/194069
|
|
R=ken2
CC=golang-dev
http://codereview.appspot.com/194051
|
|
R=ken2
CC=golang-dev
http://codereview.appspot.com/186232
|
|
Fixes issue 529.
R=ken2
CC=golang-dev
http://codereview.appspot.com/186215
|
|
Fixes issue 402.
R=ken2
CC=golang-dev
http://codereview.appspot.com/186214
|
|
Fixes issue 481.
R=ken2
CC=golang-dev
http://codereview.appspot.com/186213
|
|
Fixes issue 471.
R=ken2
CC=golang-dev
http://codereview.appspot.com/181184
|
|
Fixes issue 475.
R=ken2
CC=golang-dev
http://codereview.appspot.com/183157
|
|
Fixes issue 495.
R=ken2
CC=golang-dev
http://codereview.appspot.com/183156
|
|
gccgo currently miscompiles this test.
R=rsc
CC=golang-dev
http://codereview.appspot.com/181050
|
|
gccgo currently fails this test.
R=rsc
CC=golang-dev
http://codereview.appspot.com/179108
|
|
R=ken2
CC=dho
http://codereview.appspot.com/179097
|
|
Fixes issue 401.
R=ken2
http://codereview.appspot.com/180053
|
|
Fixes issue 403.
R=ken2
http://codereview.appspot.com/180052
|
|
* better error for lookup of unexported field
* do not assign "ideal string" type to typed string literal
* do not confuse methods and fields during interface check
Fixes issue 410.
Fixes issue 411.
Fixes issue 426.
R=ken2
http://codereview.appspot.com/179069
|
|
R=ken2
http://codereview.appspot.com/179070
|
|
Fixes issue 423.
R=ken2
http://codereview.appspot.com/180045
|
|
Fixes issue 384.
R=ken2
http://codereview.appspot.com/179061
|
|
Pull the struct into a single line, since 6g reports the error
on the last line of the struct definition and gccgo reports it
on the first line.
6g:
bug215.go:12: invalid recursive type A
gccgo:
bug215.go:12:6: error: invalid recursive type ‘A’
R=rsc
http://codereview.appspot.com/180044
|
|
R=gri
CC=golang-dev
http://codereview.appspot.com/173044
|
|
R=rsc
http://codereview.appspot.com/173045
|
|
R=ken2
http://codereview.appspot.com/165055
|
|
Fixes issue 238.
R=ken2
http://codereview.appspot.com/163098
|
|
Fixes issue 245.
R=ken2
http://codereview.appspot.com/164094
|
|
Fixes bug 292.
R=ken2
http://codereview.appspot.com/164093
|