You can get the ssn typedef with this: 
    
    
    macro ssnTypeImpl(T: typedesc): untyped =
      let ssnField = T.getType[1].getType[2][1]
      echo ssnField.getTypeInst.getImpl.treeRepr
    
    ssnTypeImpl(Person)
    
    
    Run

Reply via email to