blob: 75351a8ae7ec20b55001f6c9a6662e4614a2f936 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
t8431.scala:24: error: type mismatch;
found : CanBuildFrom[Invariant[Nothing]]
required: CanBuildFrom[Invariant[G]]
s.combined // fail
^
t8431.scala:24: error: value combined is not a member of Invariant[Nothing]
s.combined // fail
^
t8431.scala:35: error: type mismatch;
found : CanBuildFrom[Invariant[Nothing]]
required: CanBuildFrom[Invariant[G]]
s.combined // was okay!
^
t8431.scala:35: error: value combined is not a member of Invariant[Nothing]
s.combined // was okay!
^
t8431.scala:45: error: type mismatch;
found : CanBuildFrom[Invariant[Nothing]]
required: CanBuildFrom[Invariant[G]]
convert2(s).combined
^
t8431.scala:48: error: type mismatch;
found : CanBuildFrom[Invariant[Nothing]]
required: CanBuildFrom[Invariant[G]]
{val c1 = convert2(s); c1.combined}
^
6 errors found
|