diff options
Diffstat (limited to 'src/compiler/scala/tools/reflect/Shield.scala')
-rw-r--r-- | src/compiler/scala/tools/reflect/Shield.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/reflect/Shield.scala b/src/compiler/scala/tools/reflect/Shield.scala index 19730791b9..f9c7e54454 100644 --- a/src/compiler/scala/tools/reflect/Shield.scala +++ b/src/compiler/scala/tools/reflect/Shield.scala @@ -36,7 +36,7 @@ trait Shield { def method(name: String, arity: Int) = uniqueMethod(name, arity) def field(name: String) = clazz getField name - def matchingMethods(name: String, arity: Int) = methods filter (m => nameAndArity(m) == (name, arity)) + def matchingMethods(name: String, arity: Int) = methods filter (m => nameAndArity(m) == ((name, arity))) def uniqueMethod(name: String, arity: Int) = matchingMethods(name, arity) match { case List(x) => x case _ => onError("No unique match for " + name) |