summaryrefslogblamecommitdiff
path: root/test/scaladoc/resources/SI_5054_q7.scala
blob: 26d4b5fcf453d5aa9ef9363131d716045e1ce786 (plain) (tree)





















                                                                                     
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
}