mirror of
https://github.com/golang/go
synced 2024-11-25 22:57:58 -07:00
tests changed - throw calls panic directly now
instead of dereferencing nil, so no more SIGSEGVs. R=r DELTA=28 (0 added, 14 deleted, 14 changed) OCL=26881 CL=26881
This commit is contained in:
parent
47fbb7639a
commit
a99a7f60c3
@ -2,34 +2,26 @@
|
|||||||
=========== ./cmp2.go
|
=========== ./cmp2.go
|
||||||
comparing uncomparable type []int
|
comparing uncomparable type []int
|
||||||
throw: interface compare
|
throw: interface compare
|
||||||
SIGSEGV: segmentation violation
|
|
||||||
Faulting address: 0x0
|
|
||||||
pc: xxx
|
|
||||||
|
|
||||||
|
panic PC=xxx
|
||||||
|
|
||||||
=========== ./cmp3.go
|
=========== ./cmp3.go
|
||||||
comparing uncomparable type map[string] int
|
comparing uncomparable type map[string] int
|
||||||
throw: interface compare
|
throw: interface compare
|
||||||
SIGSEGV: segmentation violation
|
|
||||||
Faulting address: 0x0
|
|
||||||
pc: xxx
|
|
||||||
|
|
||||||
|
panic PC=xxx
|
||||||
|
|
||||||
=========== ./cmp4.go
|
=========== ./cmp4.go
|
||||||
hash of unhashable type []int
|
hash of unhashable type []int
|
||||||
throw: interface hash
|
throw: interface hash
|
||||||
SIGSEGV: segmentation violation
|
|
||||||
Faulting address: 0x0
|
|
||||||
pc: xxx
|
|
||||||
|
|
||||||
|
panic PC=xxx
|
||||||
|
|
||||||
=========== ./cmp5.go
|
=========== ./cmp5.go
|
||||||
hash of unhashable type map[string] int
|
hash of unhashable type map[string] int
|
||||||
throw: interface hash
|
throw: interface hash
|
||||||
SIGSEGV: segmentation violation
|
|
||||||
Faulting address: 0x0
|
|
||||||
pc: xxx
|
|
||||||
|
|
||||||
|
panic PC=xxx
|
||||||
|
|
||||||
=========== ./convlit.go
|
=========== ./convlit.go
|
||||||
BUG: errchk: ./convlit.go: unmatched error messages:
|
BUG: errchk: ./convlit.go: unmatched error messages:
|
||||||
@ -46,18 +38,14 @@ hello, world
|
|||||||
=========== ./interface2.go
|
=========== ./interface2.go
|
||||||
cannot convert type *main.S to interface main.I: missing method Foo
|
cannot convert type *main.S to interface main.I: missing method Foo
|
||||||
throw: interface conversion
|
throw: interface conversion
|
||||||
SIGSEGV: segmentation violation
|
|
||||||
Faulting address: 0x0
|
|
||||||
pc: xxx
|
|
||||||
|
|
||||||
|
panic PC=xxx
|
||||||
|
|
||||||
=========== ./interface3.go
|
=========== ./interface3.go
|
||||||
cannot convert type *main.S to interface main.I2: missing method Name
|
cannot convert type *main.S to interface main.I2: missing method Name
|
||||||
throw: interface conversion
|
throw: interface conversion
|
||||||
SIGSEGV: segmentation violation
|
|
||||||
Faulting address: 0x0
|
|
||||||
pc: xxx
|
|
||||||
|
|
||||||
|
panic PC=xxx
|
||||||
|
|
||||||
=========== ./peano.go
|
=========== ./peano.go
|
||||||
0! = 1
|
0! = 1
|
||||||
@ -240,10 +228,8 @@ fixedbugs/bug103.go:8: function requires a return type
|
|||||||
=========== fixedbugs/bug113.go
|
=========== fixedbugs/bug113.go
|
||||||
main.I is int, not int32
|
main.I is int, not int32
|
||||||
throw: interface conversion
|
throw: interface conversion
|
||||||
SIGSEGV: segmentation violation
|
|
||||||
Faulting address: 0x0
|
|
||||||
pc: xxx
|
|
||||||
|
|
||||||
|
panic PC=xxx
|
||||||
|
|
||||||
=========== fixedbugs/bug121.go
|
=========== fixedbugs/bug121.go
|
||||||
fixedbugs/bug121.go:9: syntax error near T
|
fixedbugs/bug121.go:9: syntax error near T
|
||||||
|
Loading…
Reference in New Issue
Block a user