|
1 | | --- Error: tests/neg/existential-mapping.scala:44:13 -------------------------------------------------------------------- |
| 1 | +-- Error: tests/neg-custom-args/captures/existential-mapping.scala:44:13 ----------------------------------------------- |
2 | 2 | 44 | val z1: A^ => Array[C^] = ??? // error |
3 | 3 | | ^^^^^^^^^^^^^^^ |
4 | 4 | | Array[box C^] captures the root capability `cap` in invariant position |
5 | | --- [E007] Type Mismatch Error: tests/neg/existential-mapping.scala:9:25 ------------------------------------------------ |
| 5 | +-- [E007] Type Mismatch Error: tests/neg-custom-args/captures/existential-mapping.scala:9:25 --------------------------- |
6 | 6 | 9 | val _: (x: C^) -> C = x1 // error |
7 | 7 | | ^^ |
8 | 8 | | Found: (x1 : (x: C^) -> (ex$3: caps.Exists) -> C^{ex$3}) |
9 | 9 | | Required: (x: C^) -> C |
10 | 10 | | |
11 | 11 | | longer explanation available when compiling with `-explain` |
12 | | --- [E007] Type Mismatch Error: tests/neg/existential-mapping.scala:12:20 ----------------------------------------------- |
| 12 | +-- [E007] Type Mismatch Error: tests/neg-custom-args/captures/existential-mapping.scala:12:20 -------------------------- |
13 | 13 | 12 | val _: C^ -> C = x2 // error |
14 | 14 | | ^^ |
15 | 15 | | Found: (x2 : C^ -> (ex$7: caps.Exists) -> C^{ex$7}) |
16 | 16 | | Required: C^ -> C |
17 | 17 | | |
18 | 18 | | longer explanation available when compiling with `-explain` |
19 | | --- [E007] Type Mismatch Error: tests/neg/existential-mapping.scala:15:30 ----------------------------------------------- |
| 19 | +-- [E007] Type Mismatch Error: tests/neg-custom-args/captures/existential-mapping.scala:15:30 -------------------------- |
20 | 20 | 15 | val _: A^ -> (x: C^) -> C = x3 // error |
21 | 21 | | ^^ |
22 | 22 | | Found: (x3 : A^ -> (x: C^) -> (ex$11: caps.Exists) -> C^{ex$11}) |
23 | 23 | | Required: A^ -> (x: C^) -> C |
24 | 24 | | |
25 | 25 | | longer explanation available when compiling with `-explain` |
26 | | --- [E007] Type Mismatch Error: tests/neg/existential-mapping.scala:18:25 ----------------------------------------------- |
| 26 | +-- [E007] Type Mismatch Error: tests/neg-custom-args/captures/existential-mapping.scala:18:25 -------------------------- |
27 | 27 | 18 | val _: A^ -> C^ -> C = x4 // error |
28 | 28 | | ^^ |
29 | 29 | | Found: (x4 : A^ -> C^ -> (ex$19: caps.Exists) -> C^{ex$19}) |
30 | 30 | | Required: A^ -> C^ -> C |
31 | 31 | | |
32 | 32 | | longer explanation available when compiling with `-explain` |
33 | | --- [E007] Type Mismatch Error: tests/neg/existential-mapping.scala:21:30 ----------------------------------------------- |
| 33 | +-- [E007] Type Mismatch Error: tests/neg-custom-args/captures/existential-mapping.scala:21:30 -------------------------- |
34 | 34 | 21 | val _: A^ -> (x: C^) -> C = x5 // error |
35 | 35 | | ^^ |
36 | 36 | | Found: (x5 : A^ -> (ex$27: caps.Exists) -> Fun[C^{ex$27}]) |
37 | 37 | | Required: A^ -> (x: C^) -> C |
38 | 38 | | |
39 | 39 | | longer explanation available when compiling with `-explain` |
40 | | --- [E007] Type Mismatch Error: tests/neg/existential-mapping.scala:24:30 ----------------------------------------------- |
| 40 | +-- [E007] Type Mismatch Error: tests/neg-custom-args/captures/existential-mapping.scala:24:30 -------------------------- |
41 | 41 | 24 | val _: A^ -> (x: C^) => C = x6 // error |
42 | 42 | | ^^ |
43 | 43 | | Found: (x6 : A^ -> (ex$33: caps.Exists) -> IFun[C^{ex$33}]) |
44 | 44 | | Required: A^ -> (ex$36: caps.Exists) -> (x: C^) ->{ex$36} C |
45 | 45 | | |
46 | 46 | | longer explanation available when compiling with `-explain` |
47 | | --- [E007] Type Mismatch Error: tests/neg/existential-mapping.scala:27:25 ----------------------------------------------- |
| 47 | +-- [E007] Type Mismatch Error: tests/neg-custom-args/captures/existential-mapping.scala:27:25 -------------------------- |
48 | 48 | 27 | val _: (x: C^) => C = y1 // error |
49 | 49 | | ^^ |
50 | 50 | | Found: (y1 : (x: C^) => (ex$38: caps.Exists) -> C^{ex$38}) |
51 | 51 | | Required: (x: C^) => C |
52 | 52 | | |
53 | 53 | | longer explanation available when compiling with `-explain` |
54 | | --- [E007] Type Mismatch Error: tests/neg/existential-mapping.scala:30:20 ----------------------------------------------- |
| 54 | +-- [E007] Type Mismatch Error: tests/neg-custom-args/captures/existential-mapping.scala:30:20 -------------------------- |
55 | 55 | 30 | val _: C^ => C = y2 // error |
56 | 56 | | ^^ |
57 | 57 | | Found: (y2 : C^ => (ex$42: caps.Exists) -> C^{ex$42}) |
58 | 58 | | Required: C^ => C |
59 | 59 | | |
60 | 60 | | longer explanation available when compiling with `-explain` |
61 | | --- [E007] Type Mismatch Error: tests/neg/existential-mapping.scala:33:30 ----------------------------------------------- |
| 61 | +-- [E007] Type Mismatch Error: tests/neg-custom-args/captures/existential-mapping.scala:33:30 -------------------------- |
62 | 62 | 33 | val _: A^ => (x: C^) => C = y3 // error |
63 | 63 | | ^^ |
64 | 64 | | Found: (y3 : A^ => (ex$47: caps.Exists) -> (x: C^) ->{ex$47} (ex$46: caps.Exists) -> C^{ex$46}) |
65 | 65 | | Required: A^ => (ex$50: caps.Exists) -> (x: C^) ->{ex$50} C |
66 | 66 | | |
67 | 67 | | longer explanation available when compiling with `-explain` |
68 | | --- [E007] Type Mismatch Error: tests/neg/existential-mapping.scala:36:25 ----------------------------------------------- |
| 68 | +-- [E007] Type Mismatch Error: tests/neg-custom-args/captures/existential-mapping.scala:36:25 -------------------------- |
69 | 69 | 36 | val _: A^ => C^ => C = y4 // error |
70 | 70 | | ^^ |
71 | 71 | | Found: (y4 : A^ => (ex$53: caps.Exists) -> C^ ->{ex$53} (ex$52: caps.Exists) -> C^{ex$52}) |
72 | 72 | | Required: A^ => (ex$56: caps.Exists) -> C^ ->{ex$56} C |
73 | 73 | | |
74 | 74 | | longer explanation available when compiling with `-explain` |
75 | | --- [E007] Type Mismatch Error: tests/neg/existential-mapping.scala:39:30 ----------------------------------------------- |
| 75 | +-- [E007] Type Mismatch Error: tests/neg-custom-args/captures/existential-mapping.scala:39:30 -------------------------- |
76 | 76 | 39 | val _: A^ => (x: C^) -> C = y5 // error |
77 | 77 | | ^^ |
78 | 78 | | Found: (y5 : A^ => (ex$58: caps.Exists) -> Fun[C^{ex$58}]) |
79 | 79 | | Required: A^ => (x: C^) -> C |
80 | 80 | | |
81 | 81 | | longer explanation available when compiling with `-explain` |
82 | | --- [E007] Type Mismatch Error: tests/neg/existential-mapping.scala:42:30 ----------------------------------------------- |
| 82 | +-- [E007] Type Mismatch Error: tests/neg-custom-args/captures/existential-mapping.scala:42:30 -------------------------- |
83 | 83 | 42 | val _: A^ => (x: C^) => C = y6 // error |
84 | 84 | | ^^ |
85 | 85 | | Found: (y6 : A^ => (ex$64: caps.Exists) -> IFun[C^{ex$64}]) |
|
0 commit comments