Skip to content

Commit 9ae1a87

Browse files
committed
Clean up references to carbon-language#3720 now that it is merged
1 parent bfdc65d commit 9ae1a87

File tree

1 file changed

+6
-12
lines changed

1 file changed

+6
-12
lines changed

proposals/p3802.md

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ This proposal builds upon a number of previous proposals:
8686
- [Proposal 2760: Consistent `class` and `interface` syntax](https://github.com/carbon-language/carbon-lang/pull/2760)
8787
changed the syntax to consistently use the `extend` keyword for any language
8888
construct that involves delegating name lookup to another type.
89-
- [Proposal #3720: Binding operators](https://github.com/carbon-language/carbon-lang/pull/3720)
89+
- [Proposal #3720: Member binding operators](https://github.com/carbon-language/carbon-lang/pull/3720)
9090
introduced customization of how member binding works, as in `x.y` or
9191
`x.(y)`. This proposal was originally part of #3720, but was split out.
9292

@@ -229,7 +229,7 @@ This means that lookup into `Box(T)` also looks in the type `T` for members. In
229229
this way, `b.Search` will find `b.(String.Search)`.
230230

231231
For the second ingredient, the binding interfaces from
232-
[proposal #3720: "Binding operators"](https://github.com/carbon-language/carbon-lang/pull/3720)
232+
[proposal #3720: "Member binding operators"](https://github.com/carbon-language/carbon-lang/pull/3720)
233233
already provide everything needed, we just need to make a parameterized
234234
implementation of them:
235235

@@ -328,12 +328,8 @@ This application of `extend api` and binding was first described in
328328

329329
A class could extend the API of a class it implicitly converts to. For example,
330330
imagine we have a class representing an integer in a restricted range that can
331-
implicitly convert to an integer value.
332-
333-
<!--FIXME: add text once #3720 is merged:
334-
> , see
335-
> [inheritance and other implicit conversions from proposal #3720](p3720.md#inheritance-and-other-implicit-conversions).
336-
-->
331+
implicitly convert to an integer value, see
332+
[inheritance and other implicit conversions from proposal #3720](p3720.md#inheritance-and-other-implicit-conversions).
337333

338334
```carbon
339335
class I32InRange(Low:! i32, High:! i32) {
@@ -575,10 +571,8 @@ class D {
575571
}
576572
```
577573

578-
<!--FIXME: add text once #3720 is merged:
579574
Note that
580-
[implicit conversions are sufficient for binding to work, no additional binding implementations are needed](p3720.md#inheritance-and-other-implicit-conversions).
581-
-->
575+
[implicit conversions are sufficient for member binding to work, no additional member binding implementations are needed](p3720.md#inheritance-and-other-implicit-conversions).
582576

583577
**Future work:** Currently the Carbon design doesn't include base-to-derived
584578
conversions. When they are added, it would be good to also have a way to model
@@ -1138,7 +1132,7 @@ disadvantages:
11381132
preventing cycles (`A` extends `B` extends `C` extends `A`).
11391133
11401134
This was discussed in the
1141-
[proposal review](https://github.com/carbon-language/carbon-lang/pull/3720/files#r1507988547)
1135+
[proposal review](https://github.com/carbon-language/carbon-lang/pull/3720/files/19774c5013706e5795a7952f0c6f08a73872a036#r1507988547)
11421136
and
11431137
[the #typesystem channel on Discord](https://discord.com/channels/655572317891461132/708431657849585705/1217499991329738852).
11441138

0 commit comments

Comments
 (0)