diff options
author | Jason Zaugg <jzaugg@gmail.com> | 2014-02-10 08:59:22 +0100 |
---|---|---|
committer | Jason Zaugg <jzaugg@gmail.com> | 2014-02-10 09:06:45 +0100 |
commit | d6b1e6e4ff1cb477e9b26ba7e1a02d1ea98fa132 (patch) | |
tree | a1ca801457c9ac28e219752790475eaabffa9ea0 /test/files/neg | |
parent | 9f142b114be1261f55ea82b9cd1f9d9f91b3cad6 (diff) | |
download | scala-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')
-rw-r--r-- | test/files/neg/t6260-named.scala | 2 |
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 } |