]> Cypherpunks repositories - gostls13.git/commit
test: add test that variables captured by deferred funcs are current on fault
authorRuss Cox <rsc@golang.org>
Wed, 11 Mar 2015 15:52:19 +0000 (11:52 -0400)
committerRuss Cox <rsc@golang.org>
Mon, 16 Mar 2015 23:07:06 +0000 (23:07 +0000)
commit0c31992eb3ee5a4faa424b22666098bd422117cd
tree56c28844136ddb6c614bd345d46af6f678b02c2d
parent5764befa5ace6e2dff623a79ba5a098d36fd1a86
test: add test that variables captured by deferred funcs are current on fault

This came up in private mail.
It works today and I want to make sure it stays working.

Change-Id: I13ebdc2dfadb3c72d7f179be89883137320c05d0
Reviewed-on: https://go-review.googlesource.com/7390
Reviewed-by: Austin Clements <austin@google.com>
Reviewed-by: Rob Pike <r@golang.org>
test/recover4.go [new file with mode: 0644]