summaryrefslogtreecommitdiff
path: root/test/files/neg/t6260-named.scala
diff options
context:
space:
mode:
authorJason Zaugg <jzaugg@gmail.com>2014-02-10 08:59:22 +0100
committerJason Zaugg <jzaugg@gmail.com>2014-02-10 09:06:45 +0100
commitd6b1e6e4ff1cb477e9b26ba7e1a02d1ea98fa132 (patch)
treea1ca801457c9ac28e219752790475eaabffa9ea0 /test/files/neg/t6260-named.scala
parent9f142b114be1261f55ea82b9cd1f9d9f91b3cad6 (diff)
downloadscala-d6b1e6e4ff1cb477e9b26ba7e1a02d1ea98fa132.tar.gz
scala-d6b1e6e4ff1cb477e9b26ba7e1a02d1ea98fa132.tar.bz2
scala-d6b1e6e4ff1cb477e9b26ba7e1a02d1ea98fa132.zip
SI-6260 Adddress pull request review
- fix typo - remove BRIDGE flag from the method that we promote from a bridge to a bona-fide method - note possibility for delambdafy to avoid the bridge method creation in *all* cases. - note inconsistency with anonymous class naming between `-Ydelamdafy:{inline,method}`
Diffstat (limited to 'test/files/neg/t6260-named.scala')
-rw-r--r--test/files/neg/t6260-named.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/neg/t6260-named.scala b/test/files/neg/t6260-named.scala
index 7ce13476eb..7cd9ce8473 100644
--- a/test/files/neg/t6260-named.scala
+++ b/test/files/neg/t6260-named.scala
@@ -7,7 +7,7 @@ object Test {
(x: C[Any]) => {println(s"f($x)"); x} // okay
new T[C[Any]] { def apply(a: C[Any]) = a } // okay
- // we can't rename the specific apply methid to avoid the clash
+ // we can't rename the specific apply method to avoid the clash
object O extends Function1[C[Any], C[Any]] {
def apply(a: C[Any]) = a
}