From 343127958ce708cab7bcab7acf344748567bd310 Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Thu, 26 Sep 2013 18:24:52 -0700 Subject: SI-6120 multiple warnings at same position. An error suppresses all further warnings at the same position, but multiple warnings can be heard. --- test/files/neg/t6120.scala | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 test/files/neg/t6120.scala (limited to 'test/files/neg/t6120.scala') diff --git a/test/files/neg/t6120.scala b/test/files/neg/t6120.scala new file mode 100644 index 0000000000..425f09db47 --- /dev/null +++ b/test/files/neg/t6120.scala @@ -0,0 +1,7 @@ +class A { + implicit class BooleanOps(val b: Boolean) { + @deprecated("bobo", "2.11.0") def bippy() = 5 + } + def f = null == null bippy + def g = true.bippy +} -- cgit v1.2.3