blob: 27936d8b14c76fb4c4ee785054bf7f0bd6eba405 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
package object foo {
implicit class Bar[T](val x: T) extends AnyVal {
def bippy = 1
}
}
package foo {
object Baz {
def main(args: Array[String]): Unit = {
"abc".bippy
}
}
}
|