ahhhh it was a typo:
    
    
    nnkExprColonExpr.newTree(
              newIdentNode("elementType"), # should be "kind" not "elementType"
              newIdentNode($elementType)
            ),
    
    
    Run

Reply via email to