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/experimental/cc.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -227,7 +227,7 @@ class Logger(using FileSystem):
227
227
deflog(s: String):Unit=???
228
228
229
229
deftest(usingfs: FileSystem) =
230
-
vall: {fs}Logger=Logger()
230
+
vall:Logger^{fs} =Logger()
231
231
...
232
232
```
233
233
In this version, `FileSystem` is a capability class, which means that the `{cap}` capture set is implied on the parameters of `Logger` and `test`. Writing the capture set explicitly produces a warning:
0 commit comments