From 2082307f725b208393044ddb21df753a5329f8ac Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Mon, 12 Dec 2016 13:13:19 +0100 Subject: Fix neg test case Needed an // error annotation --- tests/neg/implicitDefs.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/neg') diff --git a/tests/neg/implicitDefs.scala b/tests/neg/implicitDefs.scala index 3ec9796e8..3bfe60434 100644 --- a/tests/neg/implicitDefs.scala +++ b/tests/neg/implicitDefs.scala @@ -12,7 +12,7 @@ object implicitDefs { def foo(implicit x: String) = 1 def bar() = { - implicit val x = foo + implicit val x = foo // error: cyclic reference x } } -- cgit v1.2.3