summaryrefslogtreecommitdiff
path: root/test/files/run
diff options
context:
space:
mode:
authorGrzegorz Kossakowski <grzegorz.kossakowski@gmail.com>2014-02-22 14:43:07 +0100
committerGrzegorz Kossakowski <grzegorz.kossakowski@gmail.com>2014-02-22 14:43:07 +0100
commitb0dcf798752220c7fe173318930215248aa0bfbb (patch)
tree7a85990f10e59cc8b7a8fafd34d4feff5d17cafd /test/files/run
parent63d4dfaf7cf25f2cf5c00c97986d3d060733268f (diff)
parent2ede59c0b9d12d47a1f61d1c599842856d829227 (diff)
downloadscala-b0dcf798752220c7fe173318930215248aa0bfbb.tar.gz
scala-b0dcf798752220c7fe173318930215248aa0bfbb.tar.bz2
scala-b0dcf798752220c7fe173318930215248aa0bfbb.zip
Merge pull request #3563 from adriaanm/t5479
SI-5479 deprecate DelayedInit outside of App
Diffstat (limited to 'test/files/run')
-rw-r--r--test/files/run/delay-bad.check1
-rw-r--r--test/files/run/t4396.check1
-rw-r--r--test/files/run/t4680.check1
-rw-r--r--test/files/run/t6481.check1
4 files changed, 4 insertions, 0 deletions
diff --git a/test/files/run/delay-bad.check b/test/files/run/delay-bad.check
index 2ae88267c5..5d8c5fa1d4 100644
--- a/test/files/run/delay-bad.check
+++ b/test/files/run/delay-bad.check
@@ -4,6 +4,7 @@ delay-bad.scala:53: warning: a pure expression does nothing in statement positio
delay-bad.scala:73: warning: a pure expression does nothing in statement position; you may be omitting necessary parentheses
f(new { val x = 5 } with E() { 5 })
^
+warning: there were 1 deprecation warning(s); re-run with -deprecation for details
// new C { }
diff --git a/test/files/run/t4396.check b/test/files/run/t4396.check
index 58f4fc5138..a75e1f257f 100644
--- a/test/files/run/t4396.check
+++ b/test/files/run/t4396.check
@@ -1,3 +1,4 @@
+warning: there were 1 deprecation warning(s); re-run with -deprecation for details
hallo
constructor
out:22
diff --git a/test/files/run/t4680.check b/test/files/run/t4680.check
index b2e5209dc5..512bfd4b54 100644
--- a/test/files/run/t4680.check
+++ b/test/files/run/t4680.check
@@ -4,6 +4,7 @@ t4680.scala:51: warning: a pure expression does nothing in statement position; y
t4680.scala:69: warning: a pure expression does nothing in statement position; you may be omitting necessary parentheses
new { val x = 5 } with E() { 5 }
^
+warning: there were 1 deprecation warning(s); re-run with -deprecation for details
// new C { }
diff --git a/test/files/run/t6481.check b/test/files/run/t6481.check
index 7ec29631b1..df40722242 100644
--- a/test/files/run/t6481.check
+++ b/test/files/run/t6481.check
@@ -1,3 +1,4 @@
+warning: there were 1 deprecation warning(s); re-run with -deprecation for details
delayed init
new foo(1, 2)
delayed init