types.cc
259 KB
-
compiler: structs inherit all methods from embedded pointer fields. · 4a197d64
Previously if a struct S contained an embedded field *T, a method with receiver *T would not be promoted to a method with value receiver S. From-SVN: r200493
Ian Lance Taylor committed