]> Cypherpunks repositories - gostls13.git/commitdiff
test: re-enable open-coded defer test on riscv64
authorJoel Sing <joel@sing.id.au>
Tue, 25 Feb 2020 16:17:01 +0000 (03:17 +1100)
committerJoel Sing <joel@sing.id.au>
Wed, 26 Feb 2020 16:54:17 +0000 (16:54 +0000)
Open-coded defers were fixed and re-enabled on riscv64, however this test was
inadvertantly left disabled.

Updates #36786

Change-Id: I128fc84baa3d51f50d173e19e52051dc4d9a07c3
Reviewed-on: https://go-review.googlesource.com/c/go/+/220920
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
test/defererrcheck.go

index e0b8ab895fa17a78c4bd697bf4cff73f3e4756f1..95b91da54db987b5f0746669f4d5db6389022a87 100644 (file)
@@ -1,5 +1,4 @@
 // errorcheck -0 -l -d=defer
-// +build !riscv64
 
 // Copyright 2019 The Go Authors. All rights reserved.
 // Use of this source code is governed by a BSD-style
@@ -7,9 +6,6 @@
 
 // check that open-coded defers are used in expected situations
 
-// TODO(jsing): Re-enable on riscv64 once open-coded defers are turned
-// back on - see golang.org/issue/36786
-
 package main
 
 import "fmt"