Skip to content

Commit 04f896d

Browse files
committed
Fix using r instead of v
1 parent 58e6d25 commit 04f896d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

proposals/p3720.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -340,8 +340,8 @@ v.F() == v.(C.F)()
340340
r.F() == r.(C.F)()
341341
== r.(__C_F)()
342342
== (*__C_F.((__TypeOf_C_F as RefBind(C)).Op(&r)))()
343-
== (*(&v as __RefBind_C_F*))()
344-
== (*(&v as __RefBind_C_F*)).(Call(()).Op)()
343+
== (*(&r as __RefBind_C_F*))()
344+
== (*(&r as __RefBind_C_F*)).(Call(()).Op)()
345345
```
346346

347347
> **Note:** This rewrite results in a method call, but the rewrite is only

0 commit comments

Comments
 (0)