diff options
author | Martin Odersky <odersky@gmail.com> | 2010-01-19 16:44:20 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2010-01-19 16:44:20 +0000 |
commit | c4cacc0edfdf6f3f13afce16ec59ca2b7a25c82b (patch) | |
tree | a36b058b4b400cb6863becae5fd07c4fb46a90eb /src/compiler/scala/tools/nsc/typechecker/Implicits.scala | |
parent | 6e0b81844bc7b63a971359a9550b1d68c0f63d52 (diff) | |
download | scala-c4cacc0edfdf6f3f13afce16ec59ca2b7a25c82b.tar.gz scala-c4cacc0edfdf6f3f13afce16ec59ca2b7a25c82b.tar.bz2 scala-c4cacc0edfdf6f3f13afce16ec59ca2b7a25c82b.zip |
more performance improvements; eliminated mk......
more performance improvements; eliminated mk...Type function in Types.
Diffstat (limited to 'src/compiler/scala/tools/nsc/typechecker/Implicits.scala')
-rw-r--r-- | src/compiler/scala/tools/nsc/typechecker/Implicits.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/typechecker/Implicits.scala b/src/compiler/scala/tools/nsc/typechecker/Implicits.scala index 0539b4ee17..c8e2afad3d 100644 --- a/src/compiler/scala/tools/nsc/typechecker/Implicits.scala +++ b/src/compiler/scala/tools/nsc/typechecker/Implicits.scala @@ -173,7 +173,7 @@ self: Analyzer => object HasMethodMatching { def apply(name: Name, argtpes: List[Type], restpe: Type): Type = { def templateArgType(argtpe: Type) = - new BoundedWildcardType(mkTypeBounds(argtpe, AnyClass.tpe)) + new BoundedWildcardType(TypeBounds(argtpe, AnyClass.tpe)) val dummyMethod = new TermSymbol(NoSymbol, NoPosition, "typer$dummy") val mtpe = MethodType(dummyMethod.newSyntheticValueParams(argtpes map templateArgType), restpe) memberWildcardType(name, mtpe) |