We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0e8ec0 commit d75b62dCopy full SHA for d75b62d
proposals/0496-inline-always.md
@@ -259,8 +259,8 @@ class C2 : C {
259
func f(c: C, c2: C.Type) {
260
c.method() // dynamic type of c might be C or C2, could not ensure success
261
// 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
+ c2.class_method() // dynamic type of c2 might be C.self or C2.self, could not
+ // ensure success of inlining in general
264
}
265
```
266
0 commit comments