79260571

Date: 2024-12-07 12:17:03
Score: 1
Natty:
Report link

Ok, I realized what was the problem. What I missed was that matches[node_metadata['name']] returns a list of TSNode, not just one.

Doing matches[node_metadata['name']][1] instead works as expected.

Amazing what taking a break can do sometimes.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Antiphon0x