Commit 8a50bfe
fix(terminal): treat 0.12.2 prerelease nightlies as affected (#161)
Claude review: is_affected_version() ignored vim.version().prerelease, so a
"0.12.2-dev" nightly built before the #39152 backport landed reports version
0.12.2 and was treated as fixed (shim off) despite still having the bug. Treat a
0.12.2 prerelease as affected; the 0.12.2 release (prerelease == nil) and 0.13+
remain unaffected. Enabling the shim on a build that already has the fix is a
verified no-op, so erring toward "affected" at the boundary is safe. Adds unit
tests for the prerelease boundary.
Change-Id: Iaa21f112cb21a16120fef269eec6361e0639796d
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Signed-off-by: Thomas Kosiewski <tk@coder.com>1 parent da05ebc commit 8a50bfe
2 files changed
Lines changed: 32 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
31 | 41 | | |
32 | 42 | | |
33 | 43 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
126 | 147 | | |
127 | 148 | | |
128 | 149 | | |
| |||
0 commit comments