You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
chore(parsers): minor leftovers from the #1538 audit — annotation line convention, Ruby class/global vars, Ruby variable values #1660
The 'Minor' section of #1538, split out so the parent audit can close. Each is small and independent; the substantive sections all landed (#1628, #1654, #1657, #1659).
ruby.py:38-47, :516-522 — @@class_vars and $globals are never captured (the variables query only matches plain/instance assignments).
ruby.py:487-507 — variable value is always None: node.parent returns a fresh Python wrapper each access, so id(current) differs for the same underlying node and the @name/@value captures land in different buckets (n1 == n2 is True while id(n1) == id(n2) is False — bucket by (start_byte, end_byte) instead).
(The C/C++ macro end_line off-by-one from the same list was fixed in #1628/#1659.)
Activity
github-actions commentedon Aug 19, 2026
Hi! 👋 Join our CodeGraphContext Discord channel to collaborate: https://discord.gg/dR4QY32uYQ
fix(parsers): #1660 minor leftovers — declaration-line convention, Ru…