summaryrefslogtreecommitdiff
path: root/test/scaladoc/resources/SI_5054_q7.scala
blob: 26d4b5fcf453d5aa9ef9363131d716045e1ce786 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
trait SI_5054_q7 {
  /**
   * The full definition, either used with an implicit value or with an explicit one.
   *
   * Some more explanation on implicits...
   *
   * @param lost a lost parameter
   * @return some integer
   * @usecase def test(): Int
   *
   * This takes the implicit value in scope.
   *
   * Example: `test()`
   * 
   * @usecase def test(explicit: Int): Int
   * 
   * This takes the explicit value passed.
   *
   * Example: `test(3)`
   */
  def test(implicit lost: Int): Int
}