You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/docs/reference/contextual/extension-methods.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -86,7 +86,7 @@ Extensions can also take using clauses. For instance, the `+` extension above co
86
86
```
87
87
88
88
**Note**: Type parameters have to be given after the `extension` keyword;
89
-
they cannot be given after the `def`. This restriction might be lifted in the future once we support multiple type parameter clauses in a method.
89
+
they cannot be given after the `def`. This restriction might be lifted in the future once we support multiple type parameter clauses in a method. By contrast, there can be using clauses in front as well as after the `def`.
0 commit comments