From c456bebbcddae490a2ab2860855e936adb60539e Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Mon, 9 Apr 2012 10:12:03 -0700 Subject: Less laborious type application. And eliminating redundancy. Reduced gratuitous usage of typeConstructor on symbols which don't have type parameters. --- src/partest/scala/tools/partest/CompilerTest.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/partest') diff --git a/src/partest/scala/tools/partest/CompilerTest.scala b/src/partest/scala/tools/partest/CompilerTest.scala index 994928c0f6..aaea4416dd 100644 --- a/src/partest/scala/tools/partest/CompilerTest.scala +++ b/src/partest/scala/tools/partest/CompilerTest.scala @@ -35,7 +35,7 @@ abstract class CompilerTest extends DirectTest { class MkType(sym: Symbol) { def apply[M](implicit m1: Manifest[M]): Type = if (sym eq NoSymbol) NoType - else appliedType(sym.typeConstructor, List(m1) map (x => manifestToType(x))) + else appliedType(sym, manifestToType(m1)) } implicit def mkMkType(sym: Symbol) = new MkType(sym) -- cgit v1.2.3