Skip to content

Commit

Permalink
Fix docs for declaring implicit defs types
Browse files Browse the repository at this point in the history
  • Loading branch information
dwijnand authored Aug 10, 2018
1 parent 652092b commit 6f72a5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/reference/changed/implicit-resolution.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ affect implicits on the language level.

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

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

val y = {
implicit val ctx = this.ctx // ok
Expand Down

0 comments on commit 6f72a5f

Please sign in to comment.