Skip to content
Browse files

Added some debugging info for our flaky test.

  • Loading branch information...
1 parent 0ab8510 commit 2af2456af888afc9e5ad663e59004b5f16f82e4b @dragos dragos committed Oct 4, 2012
View
8 org.scala-ide.sdt.core/src/scala/tools/eclipse/jcompiler/ScalaMethodVerifierProvider.scala
@@ -146,9 +146,11 @@ class ScalaMethodVerifierProvider extends IMethodVerifierProvider with HasLogger
def isConcreteMethod(methodOwner: Symbol, abstractMethod: MethodBinding) = {
// Checks if `methodOwner`'s contain a non-deferred (i.e. concrete) member that matches `abstractMethod` definition
val methodSymbol = findMethodSymbol(methodOwner, abstractMethod)
- val isConcreteMethod = methodSymbol.nonEmpty && {
- val isDeferredMethod = methodSymbol.exists(_.isDeferred)
- logger.debug("found %s method symbol: %s" format (abstractMethod.selector.mkString, methodSymbol))
+ val isConcreteMethod = methodSymbol exists { sym =>
+ val isDeferredMethod = sym.isDeferred
+ logger.debug("found %s method symbol: %s [deferred: %b]" format (abstractMethod.selector.mkString, sym, isDeferredMethod))
+ logger.debug("..but after sym.initialize: " + { sym.initialize; sym.isDeferred })
+
!isDeferredMethod
}
isConcreteMethod

0 comments on commit 2af2456

Please sign in to comment.
Something went wrong with that request. Please try again.