compiler: fix a typo in comments
Change-Id: I1d895ba7e553c63a5fadae2208f062a151c8e8b7
Reviewed-on: https://go-review.googlesource.com/c/163097
Reviewed-by: Ian Lance Taylor <iant@golang.org>
diff --git a/go/types.h b/go/types.h
index 4bc5497..e3343cf 100644
--- a/go/types.h
+++ b/go/types.h
@@ -3086,7 +3086,7 @@
return this->all_methods_ == NULL;
}
- // Return the list of locally defined methos. This will return NULL
+ // Return the list of locally defined methods. This will return NULL
// for an empty interface. Embedded interfaces will appear in this
// list as an entry with no name.
const Typed_identifier_list*