1 2 3 4 5 6 7 8 9 10 11
package a object Foo extends pack.Bar { for(i <- 0 to 10) { test("") } } package pack { class Bar { protected def test(s: String*): Unit = {} } }