Skip to content

Commit 2082307

Browse files
committed
Fix neg test case
Needed an // error annotation
1 parent e7e5178 commit 2082307

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/neg/implicitDefs.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ object implicitDefs {
1212
def foo(implicit x: String) = 1
1313

1414
def bar() = {
15-
implicit val x = foo
15+
implicit val x = foo // error: cyclic reference
1616
x
1717
}
1818
}

0 commit comments

Comments
 (0)