blob: fac1037802518afbb9b76c19aa9d0cd5cd79f1fc (
plain) (
tree)
|
|
// this is not possible
object Test {
class Elem;
class MySuperXML_Tag( children: Elem* ) extends Elem;
val factory = new HashMap( String, Elem* => Elem )
factory.put("MySuperXML_Tag", MySuperXML_Tag )
// ^
// error "methods with repeated args have to be
// fully applied"
}
|