SIGN IN SIGN UP

[mypyc] Fix inconsistent vtable method prefix (#21812)

When generating the vtable we emit the name of either `entry.method` or
`entry.shadow_method`. However the group prefix is always based on
`entry.method` so if the two methods are in different compilation
groups, we generate invalid C.

Fix the inconsistency by using the same method for the prefix as for the
name.
P
Piotr Sawicki committed
82dd3af3e03bb71a966d1266d1fe1ca2d6c23a4c
Parent: f709fc1
Committed by GitHub <noreply@github.com> on 8/6/2026, 8:58:53 AM