blob: 006bf89e9f02087e82becbe9f95ab8484ce5c78f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
package object t7322 {
implicit class X(sc: StringContext) {
def x_?(args: Any*) = "hi there"
}
}
package t7322 {
trait Y {
x_?"junk" // assume that if it compiles, it works
}
}
|