Skip to content

Commit d75b62d

Browse files
committed
Fix class_method reference
1 parent b0e8ec0 commit d75b62d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

proposals/0496-inline-always.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -259,8 +259,8 @@ class C2 : C {
259259
func f(c: C, c2: C.Type) {
260260
c.method() // dynamic type of c might be C or C2, could not ensure success
261261
// of inlining in general
262-
c2.method() // dynamic type of c2 might be C.self or C2.self, could not
263-
// ensure success of inlining in general
262+
c2.class_method() // dynamic type of c2 might be C.self or C2.self, could not
263+
// ensure success of inlining in general
264264
}
265265
```
266266

0 commit comments

Comments
 (0)