From 14fcdff9c7da9f2be7613e039819dfb6451a4fc3 Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Tue, 22 Dec 2009 17:57:13 +0000 Subject: Closes #2812 (and removed a left-over println i... Closes #2812 (and removed a left-over println in Types). no review necessary. --- src/compiler/scala/tools/nsc/symtab/Types.scala | 2 +- src/compiler/scala/tools/nsc/typechecker/RefChecks.scala | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/compiler/scala/tools/nsc/symtab/Types.scala b/src/compiler/scala/tools/nsc/symtab/Types.scala index 4ed827723e..b20ef3cd4e 100644 --- a/src/compiler/scala/tools/nsc/symtab/Types.scala +++ b/src/compiler/scala/tools/nsc/symtab/Types.scala @@ -4350,7 +4350,7 @@ A type's typeSymbol should never be inspected directly. } tvar.constr.inst = NoType // necessary because hibounds/lobounds may contain tvar - println("solving "+tvar+" "+up+" "+(if (up) (tvar.constr.hiBounds) else tvar.constr.loBounds)+((if (up) (tvar.constr.hiBounds) else tvar.constr.loBounds) map (_.widen))) + //println("solving "+tvar+" "+up+" "+(if (up) (tvar.constr.hiBounds) else tvar.constr.loBounds)+((if (up) (tvar.constr.hiBounds) else tvar.constr.loBounds) map (_.widen))) tvar setInst ( if (up) { diff --git a/src/compiler/scala/tools/nsc/typechecker/RefChecks.scala b/src/compiler/scala/tools/nsc/typechecker/RefChecks.scala index bfd771b1cf..835b6f2024 100644 --- a/src/compiler/scala/tools/nsc/typechecker/RefChecks.scala +++ b/src/compiler/scala/tools/nsc/typechecker/RefChecks.scala @@ -425,7 +425,7 @@ abstract class RefChecks extends InfoTransform { infoString(member) + " is marked `abstract' and `override'" + (if (other != NoSymbol) " and overrides incomplete superclass member " + infoString(other) - else "")) + else ", but no concrete implementation could be found in a base class")) } // 3. Check that concrete classes do not have deferred definitions -- cgit v1.2.3