Sorry if its a stupid question, but why?

I like the idea very much and trying to understand all the aspects.
Fields declared as 'objects' can't be overridden. Is it intended? If
so why?

Consider following oversimplified example:
  trait Field
  trait Prop1
  trait Prop2
  trait Prop3

  class Person {
    val name = new Field with Prop1 with Prop2
  }

  class CustomPerson extends Person {
    override val name = new Field with Prop1 with Prop2 with Prop3
  }

Is there something wrong?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to