diff --git a/project/Build.scala b/project/Build.scala index 473ef2443f06..75d1ed9065bd 100644 --- a/project/Build.scala +++ b/project/Build.scala @@ -42,7 +42,7 @@ object DottyBuild extends Build { resolvers += Resolver.sonatypeRepo("releases"), // get libraries onboard - partestDeps := Seq("me.d-d" % "scala-compiler" % "2.11.5-20150619-173733-3bcd390afa", + partestDeps := Seq("me.d-d" % "scala-compiler" % "2.11.5-20150714-145300-2ad68448c5", "org.scala-lang" % "scala-reflect" % scalaVersion.value, "org.scala-lang" % "scala-library" % scalaVersion.value % "test"), libraryDependencies ++= partestDeps.value, diff --git a/src/dotty/tools/dotc/ast/Trees.scala b/src/dotty/tools/dotc/ast/Trees.scala index f63d32b1456c..1fd1a550218e 100644 --- a/src/dotty/tools/dotc/ast/Trees.scala +++ b/src/dotty/tools/dotc/ast/Trees.scala @@ -223,7 +223,7 @@ object Trees { override def toText(printer: Printer) = printer.toText(this) - override def hashCode(): Int = System.identityHashCode(this) + override def hashCode(): Int = uniqueId override def equals(that: Any) = this eq that.asInstanceOf[AnyRef] } diff --git a/src/dotty/tools/dotc/core/NameOps.scala b/src/dotty/tools/dotc/core/NameOps.scala index 4d6cca61dc08..74555961eb70 100644 --- a/src/dotty/tools/dotc/core/NameOps.scala +++ b/src/dotty/tools/dotc/core/NameOps.scala @@ -236,7 +236,7 @@ object NameOps { case nme.clone_ => nme.clone_ } - def specializedFor(returnType: Types.Type, args: List[Types.Type])(implicit ctx: Context): name.ThisName = { + def specializedFor(classTargs: List[Types.Type], classTargsNames: List[Name], methodTargs: List[Types.Type], methodTarsNames: List[Name])(implicit ctx: Context): name.ThisName = { def typeToTag(tp: Types.Type): Name = { tp.classSymbol match { @@ -253,9 +253,12 @@ object NameOps { } } + val methodTags: Seq[Name] = (methodTargs zip methodTarsNames).sortBy(_._2).map(x => typeToTag(x._1)) + val classTags: Seq[Name] = (classTargs zip classTargsNames).sortBy(_._2).map(x => typeToTag(x._1)) + name.fromName(name ++ nme.specializedTypeNames.prefix ++ - args.map(typeToTag).foldRight(typeToTag(returnType))(_ ++ _) ++ - nme.specializedTypeNames.suffix) + methodTags.fold(nme.EMPTY)(_ ++ _) ++ nme.specializedTypeNames.separator ++ + classTags.fold(nme.EMPTY)(_ ++ _) ++ nme.specializedTypeNames.suffix) } /** If name length exceeds allowable limit, replace part of it by hash */ diff --git a/src/dotty/tools/dotc/core/Names.scala b/src/dotty/tools/dotc/core/Names.scala index 1ee56fe1ce82..ed41d6b6c252 100644 --- a/src/dotty/tools/dotc/core/Names.scala +++ b/src/dotty/tools/dotc/core/Names.scala @@ -347,4 +347,25 @@ object Names { StringBuilder.newBuilder.mapResult(s => from.fromChars(s.toCharArray, 0, s.length)) def apply(): Builder[Char, Name] = termNameBuilder } + + implicit val NameOrdering: Ordering[Name] = new Ordering[Name] { + def compare(x: Name, y: Name): Int = { + if (x.isTermName && y.isTypeName) 1 + else if (x.isTypeName && y.isTermName) -1 + else if (x eq y) 0 + else { + val until = x.length min y.length + var i = 0 + + while (i < until && x(i) == y(i)) i = i + 1 + + if (i < until) { + if (x(i) < y(i)) -1 + else /*(x(i) > y(i))*/ 1 + } else { + x.length - y.length + } + } + } + } } diff --git a/src/dotty/tools/dotc/core/StdNames.scala b/src/dotty/tools/dotc/core/StdNames.scala index eb1a73625381..577e1ebf3ef2 100644 --- a/src/dotty/tools/dotc/core/StdNames.scala +++ b/src/dotty/tools/dotc/core/StdNames.scala @@ -559,7 +559,8 @@ object StdNames { final val Void: N = "V" final val Object: N = "L" - final val prefix: N = "$mc" + final val prefix: N = "$m" + final val separator: N = "c" final val suffix: N = "$sp" } diff --git a/src/dotty/tools/dotc/core/Symbols.scala b/src/dotty/tools/dotc/core/Symbols.scala index ce308459ae23..c295b667f97c 100644 --- a/src/dotty/tools/dotc/core/Symbols.scala +++ b/src/dotty/tools/dotc/core/Symbols.scala @@ -503,6 +503,8 @@ object Symbols { def showKind(implicit ctx: Context): String = ctx.kindString(this) def showName(implicit ctx: Context): String = ctx.nameString(this) def showFullName(implicit ctx: Context): String = ctx.fullNameString(this) + + override def hashCode() = id } type TermSymbol = Symbol { type ThisName = TermName } diff --git a/src/dotty/tools/dotc/transform/FunctionalInterfaces.scala b/src/dotty/tools/dotc/transform/FunctionalInterfaces.scala index 03b2910aeb40..5fd89314ad3f 100644 --- a/src/dotty/tools/dotc/transform/FunctionalInterfaces.scala +++ b/src/dotty/tools/dotc/transform/FunctionalInterfaces.scala @@ -63,7 +63,12 @@ class FunctionalInterfaces extends MiniPhaseTransform { val m = tree.meth.tpe.widen.asInstanceOf[MethodType] if (shouldSpecialize(m)) { - val interfaceName = (functionName ++ m.paramTypes.length.toString).specializedFor(m.resultType, m.paramTypes) + val functionSymbol = tree.tpe.widenDealias.classSymbol + val names = ctx.atPhase(ctx.erasurePhase) { + implicit ctx => functionSymbol.typeParams.map(_.name) + } + val interfaceName = (functionName ++ m.paramTypes.length.toString).specializedFor(m.paramTypes ::: m.resultType :: Nil, names, Nil, Nil) + // symbols loaded from classpath aren't defined in periods earlier than when they where loaded val interface = ctx.withPhase(ctx.typerPhase).getClassIfDefined(functionPackage ++ interfaceName) if (interface.exists) { diff --git a/src/dotty/tools/dotc/transform/PatternMatcher.scala b/src/dotty/tools/dotc/transform/PatternMatcher.scala index af8da01ffa96..1e7d061bf493 100644 --- a/src/dotty/tools/dotc/transform/PatternMatcher.scala +++ b/src/dotty/tools/dotc/transform/PatternMatcher.scala @@ -1443,7 +1443,7 @@ class PatternMatcher extends MiniPhaseTransform with DenotTransformer {thisTrans // require (nbSubPats > 0 && (!lastIsStar || isSeq)) protected def subPatRefs(binder: Symbol): List[Tree] = { val refs = if (totalArity > 0 && isSeq) subPatRefsSeq(binder) - else if (totalArity > 1 && !isSeq) productElemsToN(binder, totalArity) + else if (binder.info.member(nme._1).exists && !isSeq) productElemsToN(binder, totalArity) else ref(binder):: Nil refs } diff --git a/tests/pending/run/Course-2002-02.check b/tests/run/Course-2002-02.check similarity index 100% rename from tests/pending/run/Course-2002-02.check rename to tests/run/Course-2002-02.check diff --git a/tests/pending/run/Course-2002-02.scala b/tests/run/Course-2002-02.scala similarity index 100% rename from tests/pending/run/Course-2002-02.scala rename to tests/run/Course-2002-02.scala diff --git a/tests/pending/run/Course-2002-07.check b/tests/run/Course-2002-07.check similarity index 100% rename from tests/pending/run/Course-2002-07.check rename to tests/run/Course-2002-07.check diff --git a/tests/pending/run/Course-2002-07.scala b/tests/run/Course-2002-07.scala similarity index 100% rename from tests/pending/run/Course-2002-07.scala rename to tests/run/Course-2002-07.scala diff --git a/tests/pending/run/Course-2002-13.check b/tests/run/Course-2002-13.check similarity index 100% rename from tests/pending/run/Course-2002-13.check rename to tests/run/Course-2002-13.check diff --git a/tests/pending/run/Course-2002-13.scala b/tests/run/Course-2002-13.scala similarity index 100% rename from tests/pending/run/Course-2002-13.scala rename to tests/run/Course-2002-13.scala diff --git a/tests/pending/run/WeakHashSetTest.scala b/tests/run/WeakHashSetTest.scala similarity index 100% rename from tests/pending/run/WeakHashSetTest.scala rename to tests/run/WeakHashSetTest.scala diff --git a/tests/pending/run/bytecodecs.scala b/tests/run/bytecodecs.scala similarity index 100% rename from tests/pending/run/bytecodecs.scala rename to tests/run/bytecodecs.scala diff --git a/tests/pending/run/caseclasses.check b/tests/run/caseclasses.check similarity index 100% rename from tests/pending/run/caseclasses.check rename to tests/run/caseclasses.check diff --git a/tests/pending/run/caseclasses.scala b/tests/run/caseclasses.scala similarity index 100% rename from tests/pending/run/caseclasses.scala rename to tests/run/caseclasses.scala diff --git a/tests/pending/run/dead-code-elimination.flags b/tests/run/dead-code-elimination.flags similarity index 100% rename from tests/pending/run/dead-code-elimination.flags rename to tests/run/dead-code-elimination.flags diff --git a/tests/pending/run/dead-code-elimination.scala b/tests/run/dead-code-elimination.scala similarity index 100% rename from tests/pending/run/dead-code-elimination.scala rename to tests/run/dead-code-elimination.scala diff --git a/tests/pending/run/exceptions-2.check b/tests/run/exceptions-2.check similarity index 82% rename from tests/pending/run/exceptions-2.check rename to tests/run/exceptions-2.check index 4f8244800a7c..9a3044cd4f01 100644 --- a/tests/pending/run/exceptions-2.check +++ b/tests/run/exceptions-2.check @@ -1,6 +1,3 @@ -exceptions-2.scala:267: warning: a pure expression does nothing in statement position; you may be omitting necessary parentheses - try { 1 } catch { case e: java.io.IOException => () } - ^ nested1: Innermost finally Outermost finally diff --git a/tests/pending/run/exceptions-2.scala b/tests/run/exceptions-2.scala similarity index 100% rename from tests/pending/run/exceptions-2.scala rename to tests/run/exceptions-2.scala diff --git a/tests/pending/run/exceptions.check b/tests/run/exceptions.check similarity index 100% rename from tests/pending/run/exceptions.check rename to tests/run/exceptions.check diff --git a/tests/pending/run/exceptions.scala b/tests/run/exceptions.scala similarity index 100% rename from tests/pending/run/exceptions.scala rename to tests/run/exceptions.scala diff --git a/tests/pending/run/hashCodeDistribution.scala b/tests/run/hashCodeDistribution.scala similarity index 100% rename from tests/pending/run/hashCodeDistribution.scala rename to tests/run/hashCodeDistribution.scala diff --git a/tests/pending/run/matcharraytail.check b/tests/run/matcharraytail.check similarity index 100% rename from tests/pending/run/matcharraytail.check rename to tests/run/matcharraytail.check diff --git a/tests/pending/run/matcharraytail.scala b/tests/run/matcharraytail.scala similarity index 100% rename from tests/pending/run/matcharraytail.scala rename to tests/run/matcharraytail.scala diff --git a/tests/pending/run/matchonstream.check b/tests/run/matchonstream.check similarity index 100% rename from tests/pending/run/matchonstream.check rename to tests/run/matchonstream.check diff --git a/tests/pending/run/matchonstream.scala b/tests/run/matchonstream.scala similarity index 100% rename from tests/pending/run/matchonstream.scala rename to tests/run/matchonstream.scala diff --git a/tests/pending/run/mixin-bridge-methods.scala b/tests/run/mixin-bridge-methods.scala similarity index 100% rename from tests/pending/run/mixin-bridge-methods.scala rename to tests/run/mixin-bridge-methods.scala diff --git a/tests/pending/run/null-and-intersect.check b/tests/run/null-and-intersect.check similarity index 100% rename from tests/pending/run/null-and-intersect.check rename to tests/run/null-and-intersect.check diff --git a/tests/pending/run/null-and-intersect.scala b/tests/run/null-and-intersect.scala similarity index 100% rename from tests/pending/run/null-and-intersect.scala rename to tests/run/null-and-intersect.scala diff --git a/tests/pending/run/option-fold.check b/tests/run/option-fold.check similarity index 100% rename from tests/pending/run/option-fold.check rename to tests/run/option-fold.check diff --git a/tests/pending/run/option-fold.scala b/tests/run/option-fold.scala similarity index 100% rename from tests/pending/run/option-fold.scala rename to tests/run/option-fold.scala diff --git a/tests/pending/run/proxy.check b/tests/run/proxy.check similarity index 100% rename from tests/pending/run/proxy.check rename to tests/run/proxy.check diff --git a/tests/pending/run/proxy.scala b/tests/run/proxy.scala similarity index 100% rename from tests/pending/run/proxy.scala rename to tests/run/proxy.scala diff --git a/tests/pending/run/range.scala b/tests/run/range.scala similarity index 100% rename from tests/pending/run/range.scala rename to tests/run/range.scala diff --git a/tests/pending/run/t0325.check b/tests/run/t0325.check similarity index 100% rename from tests/pending/run/t0325.check rename to tests/run/t0325.check diff --git a/tests/pending/run/t0325.scala b/tests/run/t0325.scala similarity index 100% rename from tests/pending/run/t0325.scala rename to tests/run/t0325.scala diff --git a/tests/pending/run/t0631.check b/tests/run/t0631.check similarity index 100% rename from tests/pending/run/t0631.check rename to tests/run/t0631.check diff --git a/tests/pending/run/t0631.scala b/tests/run/t0631.scala similarity index 100% rename from tests/pending/run/t0631.scala rename to tests/run/t0631.scala diff --git a/tests/pending/run/t1333.check b/tests/run/t1333.check similarity index 100% rename from tests/pending/run/t1333.check rename to tests/run/t1333.check diff --git a/tests/pending/run/t1333.scala b/tests/run/t1333.scala similarity index 100% rename from tests/pending/run/t1333.scala rename to tests/run/t1333.scala diff --git a/tests/pending/run/t1697.scala b/tests/run/t1697.scala similarity index 100% rename from tests/pending/run/t1697.scala rename to tests/run/t1697.scala diff --git a/tests/pending/run/t1909b.scala b/tests/run/t1909b.scala similarity index 100% rename from tests/pending/run/t1909b.scala rename to tests/run/t1909b.scala diff --git a/tests/pending/run/t2074_2.check b/tests/run/t2074_2.check similarity index 100% rename from tests/pending/run/t2074_2.check rename to tests/run/t2074_2.check diff --git a/tests/pending/run/t2074_2.scala b/tests/run/t2074_2.scala similarity index 100% rename from tests/pending/run/t2074_2.scala rename to tests/run/t2074_2.scala diff --git a/tests/pending/run/t2175.scala b/tests/run/t2175.scala similarity index 100% rename from tests/pending/run/t2175.scala rename to tests/run/t2175.scala diff --git a/tests/pending/run/t2316_run.scala b/tests/run/t2316_run.scala similarity index 100% rename from tests/pending/run/t2316_run.scala rename to tests/run/t2316_run.scala diff --git a/tests/pending/run/t2417.check b/tests/run/t2417.check similarity index 100% rename from tests/pending/run/t2417.check rename to tests/run/t2417.check diff --git a/tests/pending/run/t2417.scala b/tests/run/t2417.scala similarity index 100% rename from tests/pending/run/t2417.scala rename to tests/run/t2417.scala diff --git a/tests/pending/run/t2544.check b/tests/run/t2544.check similarity index 100% rename from tests/pending/run/t2544.check rename to tests/run/t2544.check diff --git a/tests/pending/run/t2544.scala b/tests/run/t2544.scala similarity index 100% rename from tests/pending/run/t2544.scala rename to tests/run/t2544.scala diff --git a/tests/pending/run/t2788.check b/tests/run/t2788.check similarity index 100% rename from tests/pending/run/t2788.check rename to tests/run/t2788.check diff --git a/tests/pending/run/t2788.scala b/tests/run/t2788.scala similarity index 100% rename from tests/pending/run/t2788.scala rename to tests/run/t2788.scala diff --git a/tests/pending/run/t3038d.flags b/tests/run/t3038d.flags similarity index 100% rename from tests/pending/run/t3038d.flags rename to tests/run/t3038d.flags diff --git a/tests/pending/run/t3038d.scala b/tests/run/t3038d.scala similarity index 100% rename from tests/pending/run/t3038d.scala rename to tests/run/t3038d.scala diff --git a/tests/pending/run/t3580.scala b/tests/run/t3580.scala similarity index 100% rename from tests/pending/run/t3580.scala rename to tests/run/t3580.scala diff --git a/tests/pending/run/t3613.scala b/tests/run/t3613.scala similarity index 100% rename from tests/pending/run/t3613.scala rename to tests/run/t3613.scala diff --git a/tests/pending/run/t3714.scala b/tests/run/t3714.scala similarity index 100% rename from tests/pending/run/t3714.scala rename to tests/run/t3714.scala diff --git a/tests/pending/run/t3832.scala b/tests/run/t3832.scala similarity index 100% rename from tests/pending/run/t3832.scala rename to tests/run/t3832.scala diff --git a/tests/pending/run/t3984.scala b/tests/run/t3984.scala similarity index 100% rename from tests/pending/run/t3984.scala rename to tests/run/t3984.scala diff --git a/tests/pending/run/t4415.scala b/tests/run/t4415.scala similarity index 100% rename from tests/pending/run/t4415.scala rename to tests/run/t4415.scala diff --git a/tests/pending/run/t4482.check b/tests/run/t4482.check similarity index 100% rename from tests/pending/run/t4482.check rename to tests/run/t4482.check diff --git a/tests/pending/run/t4482.scala b/tests/run/t4482.scala similarity index 100% rename from tests/pending/run/t4482.scala rename to tests/run/t4482.scala diff --git a/tests/pending/run/t4753.check b/tests/run/t4753.check similarity index 100% rename from tests/pending/run/t4753.check rename to tests/run/t4753.check diff --git a/tests/pending/run/t4753.scala b/tests/run/t4753.scala similarity index 100% rename from tests/pending/run/t4753.scala rename to tests/run/t4753.scala diff --git a/tests/pending/run/t4859.check b/tests/run/t4859.check similarity index 100% rename from tests/pending/run/t4859.check rename to tests/run/t4859.check diff --git a/tests/pending/run/t4859.scala b/tests/run/t4859.scala similarity index 100% rename from tests/pending/run/t4859.scala rename to tests/run/t4859.scala diff --git a/tests/pending/run/t4871.check b/tests/run/t4871.check similarity index 100% rename from tests/pending/run/t4871.check rename to tests/run/t4871.check diff --git a/tests/pending/run/t4871.scala b/tests/run/t4871.scala similarity index 100% rename from tests/pending/run/t4871.scala rename to tests/run/t4871.scala diff --git a/tests/pending/run/t5158.check b/tests/run/t5158.check similarity index 100% rename from tests/pending/run/t5158.check rename to tests/run/t5158.check diff --git a/tests/pending/run/t5158.scala b/tests/run/t5158.scala similarity index 100% rename from tests/pending/run/t5158.scala rename to tests/run/t5158.scala diff --git a/tests/pending/run/t5293-map.scala b/tests/run/t5293-map.scala similarity index 100% rename from tests/pending/run/t5293-map.scala rename to tests/run/t5293-map.scala diff --git a/tests/pending/run/t5293.scala b/tests/run/t5293.scala similarity index 100% rename from tests/pending/run/t5293.scala rename to tests/run/t5293.scala diff --git a/tests/pending/run/t5407.check b/tests/run/t5407.check similarity index 100% rename from tests/pending/run/t5407.check rename to tests/run/t5407.check diff --git a/tests/pending/run/t5407.scala b/tests/run/t5407.scala similarity index 100% rename from tests/pending/run/t5407.scala rename to tests/run/t5407.scala diff --git a/tests/pending/run/t6070.check b/tests/run/t6070.check similarity index 100% rename from tests/pending/run/t6070.check rename to tests/run/t6070.check diff --git a/tests/pending/run/t6070.scala b/tests/run/t6070.scala similarity index 100% rename from tests/pending/run/t6070.scala rename to tests/run/t6070.scala diff --git a/tests/pending/run/t6198.scala b/tests/run/t6198.scala similarity index 100% rename from tests/pending/run/t6198.scala rename to tests/run/t6198.scala diff --git a/tests/pending/run/t6206.check b/tests/run/t6206.check similarity index 100% rename from tests/pending/run/t6206.check rename to tests/run/t6206.check diff --git a/tests/pending/run/t6206.scala b/tests/run/t6206.scala similarity index 100% rename from tests/pending/run/t6206.scala rename to tests/run/t6206.scala diff --git a/tests/pending/run/t6253a.scala b/tests/run/t6253a.scala similarity index 100% rename from tests/pending/run/t6253a.scala rename to tests/run/t6253a.scala diff --git a/tests/pending/run/t6253b.scala b/tests/run/t6253b.scala similarity index 100% rename from tests/pending/run/t6253b.scala rename to tests/run/t6253b.scala diff --git a/tests/pending/run/t6253c.scala b/tests/run/t6253c.scala similarity index 100% rename from tests/pending/run/t6253c.scala rename to tests/run/t6253c.scala diff --git a/tests/pending/run/t6337a.scala b/tests/run/t6337a.scala similarity index 100% rename from tests/pending/run/t6337a.scala rename to tests/run/t6337a.scala diff --git a/tests/pending/run/t6385.scala b/tests/run/t6385.scala similarity index 100% rename from tests/pending/run/t6385.scala rename to tests/run/t6385.scala diff --git a/tests/pending/run/t6628.check b/tests/run/t6628.check similarity index 100% rename from tests/pending/run/t6628.check rename to tests/run/t6628.check diff --git a/tests/pending/run/t6628.scala b/tests/run/t6628.scala similarity index 100% rename from tests/pending/run/t6628.scala rename to tests/run/t6628.scala diff --git a/tests/pending/run/t6793.scala b/tests/run/t6793.scala similarity index 100% rename from tests/pending/run/t6793.scala rename to tests/run/t6793.scala diff --git a/tests/pending/run/t7200.scala b/tests/run/t7200.scala similarity index 100% rename from tests/pending/run/t7200.scala rename to tests/run/t7200.scala diff --git a/tests/pending/run/t7214.scala b/tests/run/t7214.scala similarity index 100% rename from tests/pending/run/t7214.scala rename to tests/run/t7214.scala diff --git a/tests/pending/run/t7571.scala b/tests/run/t7571.scala similarity index 100% rename from tests/pending/run/t7571.scala rename to tests/run/t7571.scala diff --git a/tests/pending/run/t8177f.scala b/tests/run/t8177f.scala similarity index 100% rename from tests/pending/run/t8177f.scala rename to tests/run/t8177f.scala diff --git a/tests/pending/run/t8197.scala b/tests/run/t8197.scala similarity index 100% rename from tests/pending/run/t8197.scala rename to tests/run/t8197.scala diff --git a/tests/pending/run/try-catch-unify.check b/tests/run/try-catch-unify.check similarity index 100% rename from tests/pending/run/try-catch-unify.check rename to tests/run/try-catch-unify.check diff --git a/tests/pending/run/try-catch-unify.scala b/tests/run/try-catch-unify.scala similarity index 100% rename from tests/pending/run/try-catch-unify.scala rename to tests/run/try-catch-unify.scala diff --git a/tests/pending/run/unapplyArray.scala b/tests/run/unapplyArray.scala similarity index 100% rename from tests/pending/run/unapplyArray.scala rename to tests/run/unapplyArray.scala diff --git a/tests/run/value-class-extractor.scala b/tests/run/value-class-extractor.scala index 5628fea47350..07f32e0e50b4 100644 --- a/tests/run/value-class-extractor.scala +++ b/tests/run/value-class-extractor.scala @@ -6,7 +6,7 @@ object NonNullChar { @inline final val None = new NonNullChar(0.toChar) } -final class SomeProduct /*extends Product3[String, Int, List[String]]*/ { +final class SomeProduct extends Product3[String, Int, List[String]] { def canEqual(x: Any) = x.isInstanceOf[SomeProduct] def _1 = "abc" def _2 = 5 diff --git a/tests/pending/run/verify-ctor.check b/tests/run/verify-ctor.check similarity index 100% rename from tests/pending/run/verify-ctor.check rename to tests/run/verify-ctor.check diff --git a/tests/pending/run/verify-ctor.scala b/tests/run/verify-ctor.scala similarity index 100% rename from tests/pending/run/verify-ctor.scala rename to tests/run/verify-ctor.scala diff --git a/tests/pending/run/virtpatmat_try.check b/tests/run/virtpatmat_try.check similarity index 100% rename from tests/pending/run/virtpatmat_try.check rename to tests/run/virtpatmat_try.check diff --git a/tests/pending/run/virtpatmat_try.flags b/tests/run/virtpatmat_try.flags similarity index 100% rename from tests/pending/run/virtpatmat_try.flags rename to tests/run/virtpatmat_try.flags diff --git a/tests/pending/run/virtpatmat_try.scala b/tests/run/virtpatmat_try.scala similarity index 100% rename from tests/pending/run/virtpatmat_try.scala rename to tests/run/virtpatmat_try.scala