SIGN IN SIGN UP

[mypyc] Fix name lookup when class var and module var have the same name (#21594)

Disambiguate using the Var node, since the short name itself is not
enough to disambiguate between global variable and class variable
with the same name.

Fixes https://github.com/mypyc/mypyc/issues/1201.
J
Jukka Lehtosalo committed
e15a6d58da79c9703812b9102e6c18e09351b830
Parent: 28751e9
Committed by GitHub <noreply@github.com> on 6/5/2026, 12:01:36 PM