blob: 38c5f4c94ea0d1f2f9bd0703084907e1dd3ec904 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
import scala.annotation.tailrec
trait A { self: B =>
@tailrec
private def foo(arg1: Int, arg2: Int): Int = {
def bar = this.foo(arg1, arg2)
foo(arg1, arg2)
}
def foo(arg: Int) = arg
}
class B extends A{}
|