Commit 6403752
authored
Prevent a crash when InitVar is redefined with a method in a subclass (#19453)
Fixes #19443. This case is too niche (and should be trivially
avoidable), so just not crashing should be good enough. The value is
indeed redefined, and trying to massage the plugin to move the
`X-redefinition` back to `X` in names is not worth the effort IMO.1 parent 70d7881 commit 6403752
2 files changed
+24
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2188 | 2188 | | |
2189 | 2189 | | |
2190 | 2190 | | |
2191 | | - | |
| 2191 | + | |
| 2192 | + | |
| 2193 | + | |
| 2194 | + | |
| 2195 | + | |
| 2196 | + | |
| 2197 | + | |
| 2198 | + | |
2192 | 2199 | | |
2193 | 2200 | | |
2194 | 2201 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2666 | 2666 | | |
2667 | 2667 | | |
2668 | 2668 | | |
| 2669 | + | |
| 2670 | + | |
| 2671 | + | |
| 2672 | + | |
| 2673 | + | |
| 2674 | + | |
| 2675 | + | |
| 2676 | + | |
| 2677 | + | |
| 2678 | + | |
| 2679 | + | |
| 2680 | + | |
| 2681 | + | |
| 2682 | + | |
| 2683 | + | |
| 2684 | + | |
0 commit comments