1
0
mirror of https://github.com/golang/go synced 2024-09-24 01:30:13 -06: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:
Russ Cox 2009-03-30 00:28:08 -07:00
parent 47fbb7639a
commit a99a7f60c3

View File

@ -2,34 +2,26 @@
=========== ./cmp2.go
comparing uncomparable type []int
throw: interface compare
SIGSEGV: segmentation violation
Faulting address: 0x0
pc: xxx
panic PC=xxx
=========== ./cmp3.go
comparing uncomparable type map[string] int
throw: interface compare
SIGSEGV: segmentation violation
Faulting address: 0x0
pc: xxx
panic PC=xxx
=========== ./cmp4.go
hash of unhashable type []int
throw: interface hash
SIGSEGV: segmentation violation
Faulting address: 0x0
pc: xxx
panic PC=xxx
=========== ./cmp5.go
hash of unhashable type map[string] int
throw: interface hash
SIGSEGV: segmentation violation
Faulting address: 0x0
pc: xxx
panic PC=xxx
=========== ./convlit.go
BUG: errchk: ./convlit.go: unmatched error messages:
@ -46,18 +38,14 @@ hello, world
=========== ./interface2.go
cannot convert type *main.S to interface main.I: missing method Foo
throw: interface conversion
SIGSEGV: segmentation violation
Faulting address: 0x0
pc: xxx
panic PC=xxx
=========== ./interface3.go
cannot convert type *main.S to interface main.I2: missing method Name
throw: interface conversion
SIGSEGV: segmentation violation
Faulting address: 0x0
pc: xxx
panic PC=xxx
=========== ./peano.go
0! = 1
@ -240,10 +228,8 @@ fixedbugs/bug103.go:8: function requires a return type
=========== fixedbugs/bug113.go
main.I is int, not int32
throw: interface conversion
SIGSEGV: segmentation violation
Faulting address: 0x0
pc: xxx
panic PC=xxx
=========== fixedbugs/bug121.go
fixedbugs/bug121.go:9: syntax error near T