File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
scala2-library-cc/src/scala/collection/generic Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -58,15 +58,17 @@ object IsSeq {
5858 * The helper method [[seqViewIsSeq_ ]] is added to make the binary compatible.
5959 */
6060 @ 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 ] } = ???
6263 implicit inline def seqViewIsSeq [CC0 [X ] <: SeqView [X ], A0 ]: IsIterable [CC0 [A0 ]] { type A = A0 ; type C = View [A0 ] } = seqViewIsSeq_[CC0 , A0 ].asInstanceOf
6364
6465 /** !!! Under cc, views are not Seqs and can't use SeqOps.
6566 * Therefore, [[stringViewIsSeq ]] now returns an [[IsIterable ]].
6667 * The helper method [[stringViewIsSeq__ ]] is added to make the binary compatible.
6768 */
6869 @ 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 ] } = ???
7072 inline implicit def stringViewIsSeq : IsIterable [StringView ] { type A = Char ; type C = View [Char ] } = stringViewIsSeq_.asInstanceOf
7173
7274 implicit val stringIsSeq : IsSeq [String ] { type A = Char ; type C = String } =
You can’t perform that action at this time.
0 commit comments