From 6327e11a59406249cde10ec31cf87ae9b300d2ac Mon Sep 17 00:00:00 2001 From: Mark Harrah Date: Mon, 18 Mar 2013 09:52:57 -0400 Subject: [PATCH] Object->AnyRef change in EvalTest --- main/actions/src/test/scala/sbt/compiler/EvalTest.scala | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main/actions/src/test/scala/sbt/compiler/EvalTest.scala b/main/actions/src/test/scala/sbt/compiler/EvalTest.scala index 520e16546..1cff2f635 100644 --- a/main/actions/src/test/scala/sbt/compiler/EvalTest.scala +++ b/main/actions/src/test/scala/sbt/compiler/EvalTest.scala @@ -1,6 +1,7 @@ package sbt package compiler + import scala.language.reflectiveCalls import org.scalacheck._ import Prop._ import scala.tools.nsc.reporters.StoreReporter @@ -74,7 +75,7 @@ val p = { value(eval.eval("abs("+i+")", new EvalImports(imports.zipWithIndex, "imp"))) == math.abs(i) private[this] def local(i: Int) = "{ class ETest(val i: Int); new ETest(" + i + ") }" - val LocalType = "Object{val i: Int}" + val LocalType = "AnyRef{val i: Int}" private[this] def value(r: EvalResult) = r.getValue(getClass.getClassLoader) private[this] def hasErrors(line: Int, src: String) =