summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAdriaan Moors <adriaan@lightbend.com>2016-07-18 14:44:42 -0700
committerGitHub <noreply@github.com>2016-07-18 14:44:42 -0700
commit31db427375ed50a0ccf1e9ea12d858c71f3f5777 (patch)
tree37f6aeec0b4fb77a7c3f0e10f830dcd790992e55 /test
parentd26b384375380e9e8ab0ef48ad66f4539dd1ef07 (diff)
parent7e933d5b5a4c1c8795b74e67e2148c6fc4ca19a6 (diff)
downloadscala-31db427375ed50a0ccf1e9ea12d858c71f3f5777.tar.gz
scala-31db427375ed50a0ccf1e9ea12d858c71f3f5777.tar.bz2
scala-31db427375ed50a0ccf1e9ea12d858c71f3f5777.zip
Merge pull request #5265 from szeiger/issue/6947
SI-6947 Better type parameter names for Map classes
Diffstat (limited to 'test')
-rw-r--r--test/files/run/xMigration.check6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/files/run/xMigration.check b/test/files/run/xMigration.check
index cd860bf394..1104dbea83 100644
--- a/test/files/run/xMigration.check
+++ b/test/files/run/xMigration.check
@@ -11,7 +11,7 @@ scala> :setting -Xmigration:any
scala> Map(1 -> "eis").values // warn
<console>:12: warning: method values in trait MapLike has changed semantics in version 2.8.0:
-`values` returns `Iterable[B]` rather than `Iterator[B]`.
+`values` returns `Iterable[V]` rather than `Iterator[V]`.
Map(1 -> "eis").values // warn
^
res2: Iterable[String] = MapLike(eis)
@@ -25,7 +25,7 @@ scala> :setting -Xmigration:2.7
scala> Map(1 -> "eis").values // warn
<console>:12: warning: method values in trait MapLike has changed semantics in version 2.8.0:
-`values` returns `Iterable[B]` rather than `Iterator[B]`.
+`values` returns `Iterable[V]` rather than `Iterator[V]`.
Map(1 -> "eis").values // warn
^
res4: Iterable[String] = MapLike(eis)
@@ -39,7 +39,7 @@ scala> :setting -Xmigration // same as :any
scala> Map(1 -> "eis").values // warn
<console>:12: warning: method values in trait MapLike has changed semantics in version 2.8.0:
-`values` returns `Iterable[B]` rather than `Iterator[B]`.
+`values` returns `Iterable[V]` rather than `Iterator[V]`.
Map(1 -> "eis").values // warn
^
res6: Iterable[String] = MapLike(eis)