Commit bb5a22f
committed
Upgrade Ring metatables on library upgrades
This is hopefully a non-risky and better change going forward, but don't
want to rock the boat immediately after fixing one upgrade issue.
As changing the implementation of any Ring method in a current version
means it has no effect on rings created in older versions, it makes
sense to apply the new metatable to avoid this trap in the future.
This appears to work fine from an upgrade of version 24 to 28 (which
adds the Link method to Ring).1 parent b8d1722 commit bb5a22f
1 file changed
Lines changed: 11 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
| 116 | + | |
120 | 117 | | |
121 | 118 | | |
122 | 119 | | |
| |||
201 | 198 | | |
202 | 199 | | |
203 | 200 | | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
204 | 209 | | |
205 | 210 | | |
206 | 211 | | |
| |||
448 | 453 | | |
449 | 454 | | |
450 | 455 | | |
451 | | - | |
| 456 | + | |
452 | 457 | | |
453 | 458 | | |
454 | 459 | | |
| |||
0 commit comments