summaryrefslogtreecommitdiff
path: root/test/files/run/reflection-implicit.scala
diff options
context:
space:
mode:
authorEugene Burmako <xeno.by@gmail.com>2012-10-07 12:13:05 +0200
committerEugene Burmako <xeno.by@gmail.com>2012-10-07 14:40:26 +0200
commitc2cf3d77b4a14ea74a573fcc78aeaf64accaa3db (patch)
tree002939a6f190e8efe8776ad83fcff32b8f1e5c04 /test/files/run/reflection-implicit.scala
parentbfde8c79cf68541e29e60d22371bcc4669be7b83 (diff)
downloadscala-c2cf3d77b4a14ea74a573fcc78aeaf64accaa3db.tar.gz
scala-c2cf3d77b4a14ea74a573fcc78aeaf64accaa3db.tar.bz2
scala-c2cf3d77b4a14ea74a573fcc78aeaf64accaa3db.zip
MethodSymbol.params => MethodSymbol.paramss
This matter was discussed at scala-internals: http://groups.google.com/group/scala-internals/browse_thread/thread/6414d200cf31c357 And I am convinced with Paul's argument: consistency of the convention is very important.
Diffstat (limited to 'test/files/run/reflection-implicit.scala')
-rw-r--r--test/files/run/reflection-implicit.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/run/reflection-implicit.scala b/test/files/run/reflection-implicit.scala
index 637ef24e14..0bcb0bc3a0 100644
--- a/test/files/run/reflection-implicit.scala
+++ b/test/files/run/reflection-implicit.scala
@@ -9,7 +9,7 @@ class C {
object Test extends App {
val decls = typeOf[C].typeSymbol.typeSignature.declarations.sorted.toList.filter(sym => !sym.isTerm || (sym.isMethod && !sym.asMethod.isConstructor))
println(decls map (_.isImplicit))
- val param = decls.find(_.name.toString == "d").get.asMethod.params.last.head
+ val param = decls.find(_.name.toString == "d").get.asMethod.paramss.last.head
param.typeSignature
println(param.isImplicit)
} \ No newline at end of file