summaryrefslogtreecommitdiff
path: root/test/files/run
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2013-09-26 18:24:52 -0700
committerPaul Phillips <paulp@improving.org>2013-09-27 09:19:30 -0700
commit343127958ce708cab7bcab7acf344748567bd310 (patch)
tree4cb847784db29e8b643a251768f910d7c0145906 /test/files/run
parent1a3c16fd36407bb2308bbb84739601544ac4a2e5 (diff)
downloadscala-343127958ce708cab7bcab7acf344748567bd310.tar.gz
scala-343127958ce708cab7bcab7acf344748567bd310.tar.bz2
scala-343127958ce708cab7bcab7acf344748567bd310.zip
SI-6120 multiple warnings at same position.
An error suppresses all further warnings at the same position, but multiple warnings can be heard.
Diffstat (limited to 'test/files/run')
-rw-r--r--test/files/run/private-inline.check6
-rw-r--r--test/files/run/t2106.check3
2 files changed, 9 insertions, 0 deletions
diff --git a/test/files/run/private-inline.check b/test/files/run/private-inline.check
index 3e44989521..e71aec2fcf 100644
--- a/test/files/run/private-inline.check
+++ b/test/files/run/private-inline.check
@@ -1,7 +1,13 @@
private-inline.scala:24: warning: Could not inline required method wrapper1 because callee contains exception handlers / finally clause, and is invoked with non-empty operand stack.
def f1b() = identity(wrapper1(5))
^
+private-inline.scala:24: warning: At the end of the day, could not inline @inline-marked method wrapper1
+ def f1b() = identity(wrapper1(5))
+ ^
private-inline.scala:29: warning: Could not inline required method wrapper2 because callee contains exception handlers / finally clause, and is invoked with non-empty operand stack.
def f2b() = identity(wrapper2(5))
^
+private-inline.scala:29: warning: At the end of the day, could not inline @inline-marked method wrapper2
+ def f2b() = identity(wrapper2(5))
+ ^
20
diff --git a/test/files/run/t2106.check b/test/files/run/t2106.check
index b14e9d1c41..f8f625ff46 100644
--- a/test/files/run/t2106.check
+++ b/test/files/run/t2106.check
@@ -1,3 +1,6 @@
t2106.scala:7: warning: Could not inline required method foo because access level required by callee not matched by caller.
def main(args: Array[String]): Unit = x.foo
^
+t2106.scala:7: warning: At the end of the day, could not inline @inline-marked method foo
+ def main(args: Array[String]): Unit = x.foo
+ ^