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: tests/neg-custom-args/captures/boundary.check
+17-2Lines changed: 17 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@
12
12
| cap is a fresh root capability classified as Control created in value local when constructing Capability instance scala.util.boundary.Label[Object^'s1]
-- [E007] Type Mismatch Error: tests/neg-custom-args/captures/i21614.scala:12:33 ---------------------------------------
2
-
12 | files.map((f: F) => new Logger(f)) // error, Q: can we make this pass (see #19076)?
2
+
12 | files.map((f: F) => new Logger(f)) // error // error, Q: can we make this pass (see #19076)?
3
3
| ^
4
4
|Found: (f : F)
5
5
|Required: File^
@@ -11,16 +11,25 @@
11
11
| cap² is a fresh root capability classified as SharedCapability created in anonymous function of type (f²: F): Logger when checking argument to parameter f of constructor Logger
12
12
|
13
13
| longer explanation available when compiling with `-explain`
0 commit comments