Skip to content

Commit 72fd1cb

Browse files
authored
Merge pull request #4923 from dwijnand/patch-1
Fix docs for declaring implicit defs types
2 parents 652092b + 6f72a5f commit 72fd1cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/docs/reference/changed/implicit-resolution.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ affect implicits on the language level.
1717

1818
/*!*/ implicit val x = ... // error: type must be given explicitly
1919

20-
/*!*/ next(): Context = ... // error: type must be given explicitly
20+
/*!*/ implicit def y = ... // error: type must be given explicitly
2121

2222
val y = {
2323
implicit val ctx = this.ctx // ok

0 commit comments

Comments
 (0)