File tree 1 file changed +4
-2
lines changed
scala2-library-cc/src/scala/collection/generic
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -58,15 +58,17 @@ object IsSeq {
58
58
* The helper method [[seqViewIsSeq_ ]] is added to make the binary compatible.
59
59
*/
60
60
@ annotation.targetName(" seqViewIsSeq" )
61
- def seqViewIsSeq_ [CC0 [X ] <: SeqView [X ], A0 ]: IsSeq [CC0 [A0 ]] { type A = A0 ; type C = View [A0 ] } = ???
61
+ @ annotation.publicInBinary
62
+ private [IsSeq ] def seqViewIsSeq_ [CC0 [X ] <: SeqView [X ], A0 ]: IsSeq [CC0 [A0 ]] { type A = A0 ; type C = View [A0 ] } = ???
62
63
implicit inline def seqViewIsSeq [CC0 [X ] <: SeqView [X ], A0 ]: IsIterable [CC0 [A0 ]] { type A = A0 ; type C = View [A0 ] } = seqViewIsSeq_[CC0 , A0 ].asInstanceOf
63
64
64
65
/** !!! Under cc, views are not Seqs and can't use SeqOps.
65
66
* Therefore, [[stringViewIsSeq ]] now returns an [[IsIterable ]].
66
67
* The helper method [[stringViewIsSeq__ ]] is added to make the binary compatible.
67
68
*/
68
69
@ annotation.targetName(" stringViewIsSeq" )
69
- val stringViewIsSeq_ : IsSeq [StringView ] { type A = Char ; type C = View [Char ] } = ???
70
+ @ annotation.publicInBinary
71
+ private [IsSeq ] val stringViewIsSeq_ : IsSeq [StringView ] { type A = Char ; type C = View [Char ] } = ???
70
72
inline implicit def stringViewIsSeq : IsIterable [StringView ] { type A = Char ; type C = View [Char ] } = stringViewIsSeq_.asInstanceOf
71
73
72
74
implicit val stringIsSeq : IsSeq [String ] { type A = Char ; type C = String } =
You can’t perform that action at this time.
0 commit comments