From 273cc667228f21cc25bf7c34a1d41935b55ed9c6 Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Fri, 20 Jan 2012 12:25:48 -0800 Subject: Test case for already closed SI-4271. --- test/files/neg/t4271.scala | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 test/files/neg/t4271.scala (limited to 'test/files/neg/t4271.scala') diff --git a/test/files/neg/t4271.scala b/test/files/neg/t4271.scala new file mode 100644 index 0000000000..50526c8958 --- /dev/null +++ b/test/files/neg/t4271.scala @@ -0,0 +1,12 @@ +object foo { + object Donotuseme + implicit def any2Ensuring[A](x: A) = Donotuseme + implicit def doubleWrapper(x: Int) = Donotuseme + implicit def floatWrapper(x: Int) = Donotuseme + implicit def intWrapper(x: Int) = Donotuseme + implicit def longWrapper(x: Int) = Donotuseme + implicit def any2ArrowAssoc[A](x: A) = Donotuseme + 3 to 5 + 5 ensuring true + 3 -> 5 +} -- cgit v1.2.3