> What am I doing wrong?

You're not using `ref object`:
    
    
    type
      A = ref object of RootObj
        name: string
      B = ref object of A
        value: string
      C = ref object of A
        key: int
    
    
    Run

Reply via email to