Skip to content

Commit

Permalink
Add note about why go:noinline isn't inserted automatically
Browse files Browse the repository at this point in the history
  • Loading branch information
chriso committed Dec 13, 2023
1 parent 4a7de73 commit 07cf036
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/testdata/coroutine.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 07cf036

Please sign in to comment.