aboutsummaryrefslogtreecommitdiff
path: root/tests/neg
diff options
context:
space:
mode:
Diffstat (limited to 'tests/neg')
-rw-r--r--tests/neg/implicitDefs.scala2
1 files changed, 1 insertions, 1 deletions
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
}
}