From 416bc85f6111ad25aa5e25e2d2fe3cbad2a16758 Mon Sep 17 00:00:00 2001 From: bestgopher <84328409@qq.com> Date: Wed, 18 Oct 2023 00:13:21 +0000 Subject: [PATCH] runtime: fix comments for itab The function WriteTabs has been renamed WritePluginTable. Change-Id: I5f04b99b91498c41121f898cb7774334a730d7b4 GitHub-Last-Rev: c98ab3f87210cef9146a1aec97e2f1f4a2bc0593 GitHub-Pull-Request: golang/go#63595 Reviewed-on: https://go-review.googlesource.com/c/go/+/535996 Reviewed-by: Keith Randall Reviewed-by: Ian Lance Taylor Auto-Submit: Ian Lance Taylor Run-TryBot: Keith Randall TryBot-Result: Gopher Robot Reviewed-by: Keith Randall --- src/runtime/runtime2.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime/runtime2.go b/src/runtime/runtime2.go index 34f66d4ada..8bda2f7337 100644 --- a/src/runtime/runtime2.go +++ b/src/runtime/runtime2.go @@ -960,7 +960,7 @@ type funcinl struct { // layout of Itab known to compilers // allocated in non-garbage-collected memory // Needs to be in sync with -// ../cmd/compile/internal/reflectdata/reflect.go:/^func.WriteTabs. +// ../cmd/compile/internal/reflectdata/reflect.go:/^func.WritePluginTable. type itab struct { inter *interfacetype _type *_type -- 2.50.0