diff options
Diffstat (limited to 'test/files/neg/t6260-named.scala')
-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 } |