File tree 1 file changed +7
-5
lines changed
1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -41,11 +41,13 @@ <h2 id="introduction">DRAFT RELEASE NOTES — Introduction to Go 1.14</h2>
41
41
< h2 id ="language "> Changes to the language</ h2 >
42
42
43
43
< p >
44
- TODO
45
- </ p >
46
-
47
- < p > <!-- CL 187519 -->
48
- TODO: < a href ="https://golang.org/cl/187519 "> https://golang.org/cl/187519</ a > : allow embedding overlapping interfaces
44
+ Per the < a href ="https://github.com/golang/proposal/blob/master/design/6977-overlapping-interfaces.md "> overlapping interfaces proposal</ a > ,
45
+ Go 1.14 now permits embedding of interfaces with overlapping method sets:
46
+ methods from an embedded interface may have the same names and identical signatures
47
+ as methods already present in the (embedding) interface. This solves problems that typically
48
+ (but not exclusively) occur with diamond-shaped embedding graphs.
49
+ Explicitly declared methods in an interface must remain
50
+ < a href ="https://tip.golang.org/ref/spec#Uniqueness_of_identifiers "> unique</ a > , as before.
49
51
</ p >
50
52
51
53
< h2 id ="ports "> Ports</ h2 >
You can’t perform that action at this time.
0 commit comments