ast-pattern-matching
ast-pattern-matching copied to clipboard
problem with result variable.
basically this doesn't work:
result = @[]
fragmentPart.matchAstRecursive:
of `sym` @ nnkSym:
result.add sym