diff options
| author | Robert Findley <rfindley@google.com> | 2022-02-02 13:47:31 -0500 |
|---|---|---|
| committer | Robert Findley <rfindley@google.com> | 2022-02-02 19:37:44 +0000 |
| commit | 77eff30ec0bc63df61ea742bb8278f92e2c133dc (patch) | |
| tree | 5d152782520da197733da353bcfa96e72955a78a /src/runtime/export_debug_test.go | |
| parent | edbe4742a296239c06cd99721bb0dbc5008d35a1 (diff) | |
| download | go-77eff30ec0bc63df61ea742bb8278f92e2c133dc.tar.xz | |
go/types, types2: add a const to control recursion panics in unification
Add a panicAtUnificationDepthLimit const to replace the use of the debug
const to control whether to panic when the unification recursion depth
is reached. Our tests should pass when debug==true.
Change-Id: I58847f49d66010bd4ca01c0408ec10acac95cba6
Reviewed-on: https://go-review.googlesource.com/c/go/+/382534
Trust: Robert Findley <rfindley@google.com>
Run-TryBot: Robert Findley <rfindley@google.com>
Reviewed-by: Robert Griesemer <gri@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Diffstat (limited to 'src/runtime/export_debug_test.go')
0 files changed, 0 insertions, 0 deletions
