summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2011-12-08 15:31:07 -0800
committerPaul Phillips <paulp@improving.org>2011-12-08 15:31:07 -0800
commita8da940cb62d7a57ef4d405a176223c02479c779 (patch)
treeee59f60a956f52e102b69009f1bda03e61937aaa /test
parent4da259b26eb9d3409392fef91d36471cd7ac4354 (diff)
parent6a16e1a4fc08fd47b19c32c19106e6405160e1c4 (diff)
downloadscala-a8da940cb62d7a57ef4d405a176223c02479c779.tar.gz
scala-a8da940cb62d7a57ef4d405a176223c02479c779.tar.bz2
scala-a8da940cb62d7a57ef4d405a176223c02479c779.zip
Merge remote-tracking branches 'VladUreche/issue/5054' and 'jsuereth/dont_resolve_releases'
Diffstat (limited to 'test')
-rw-r--r--test/files/neg/migration28.check5
-rw-r--r--test/files/run/t5239.check2
-rw-r--r--test/files/run/t5266_1.check (renamed from test/pending/run/t5266_1.check)0
-rw-r--r--test/files/run/t5266_1.scala (renamed from test/pending/run/t5266_1.scala)9
-rw-r--r--test/files/run/t5266_2.check (renamed from test/pending/run/t5266_2.check)0
-rw-r--r--test/files/run/t5266_2.scala (renamed from test/pending/run/t5266_2.scala)2
6 files changed, 5 insertions, 13 deletions
diff --git a/test/files/neg/migration28.check b/test/files/neg/migration28.check
index 97146e88f7..d7dfacf3db 100644
--- a/test/files/neg/migration28.check
+++ b/test/files/neg/migration28.check
@@ -1,6 +1,5 @@
-migration28.scala:4: error: method scanRight in trait TraversableLike has changed semantics:
-This scanRight definition has changed in 2.9.
-The previous behavior can be reproduced with scanRight.reverse.
+migration28.scala:4: error: method scanRight in trait TraversableLike has changed semantics in version 2.9.0:
+The behavior of `scanRight` has changed. The previous behavior can be reproduced with scanRight.reverse.
List(1,2,3,4,5).scanRight(0)(_+_)
^
one error found
diff --git a/test/files/run/t5239.check b/test/files/run/t5239.check
index db5778f95b..40fe6a76e7 100644
--- a/test/files/run/t5239.check
+++ b/test/files/run/t5239.check
@@ -6,7 +6,7 @@ package <empty> {
__wrapper$1.super.this();
()
};
- <static> def wrapper(): Int = 2
+ def wrapper(): Int = 2
}
}
diff --git a/test/pending/run/t5266_1.check b/test/files/run/t5266_1.check
index 3feac16a0b..3feac16a0b 100644
--- a/test/pending/run/t5266_1.check
+++ b/test/files/run/t5266_1.check
diff --git a/test/pending/run/t5266_1.scala b/test/files/run/t5266_1.scala
index 06a81a04ea..18e288e685 100644
--- a/test/pending/run/t5266_1.scala
+++ b/test/files/run/t5266_1.scala
@@ -8,14 +8,7 @@ object Test extends App {
println(x)
};
- val settings = new Settings
- settings.debug.value = true
- settings.Xshowtrees.value = true
- settings.Xprint.value = List("typer")
- settings.printtypes.value = true
- settings.Ytyperdebug.value = true
-
- val reporter = new ConsoleReporter(settings)
+ val reporter = new ConsoleReporter(new Settings)
val toolbox = new ToolBox(reporter)
val ttree = toolbox.typeCheck(code.tree)
val evaluated = toolbox.runExpr(ttree)
diff --git a/test/pending/run/t5266_2.check b/test/files/run/t5266_2.check
index 3feac16a0b..3feac16a0b 100644
--- a/test/pending/run/t5266_2.check
+++ b/test/files/run/t5266_2.check
diff --git a/test/pending/run/t5266_2.scala b/test/files/run/t5266_2.scala
index cd841da021..eb319583f8 100644
--- a/test/pending/run/t5266_2.scala
+++ b/test/files/run/t5266_2.scala
@@ -9,7 +9,7 @@ object Test extends App {
println(y)
};
- val reporter = new ConsoleReporter(settings)
+ val reporter = new ConsoleReporter(new Settings)
val toolbox = new ToolBox(reporter)
val ttree = toolbox.typeCheck(code.tree)
val evaluated = toolbox.runExpr(ttree)