i don't know what's going on either, but swapping A and B:
    
    
    Node = object
        case kind: NodeKind
        of B:
          value: int
        of A:
          children: seq[Node]
    
    Run

works

Reply via email to