1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
package bippy { class A { def f = { trait B { def f = 5 } trait C { def g = 10 } new B with C { } } def g = Class.forName("bippy.A$B$1$class") } }