From 07cf0363c5d0194756407ee00e228e79fbf98fbf Mon Sep 17 00:00:00 2001 From: Chris O'Hara Date: Wed, 13 Dec 2023 11:42:38 +1000 Subject: [PATCH] Add note about why go:noinline isn't inserted automatically --- compiler/testdata/coroutine.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/testdata/coroutine.go b/compiler/testdata/coroutine.go index 11f01b6..ccde368 100644 --- a/compiler/testdata/coroutine.go +++ b/compiler/testdata/coroutine.go @@ -584,7 +584,7 @@ func IdentityGenericClosure[T any](n T) { fn() } -// TODO: add this go:noinline directive automatically +// TODO: add this go:noinline directive automatically (once stealthrocket/coroutine#84 is fixed) // //go:noinline func buildClosure[T any](n T) func() {