Commit f0fcffb
authored
Improve value renaming (#208)
Do not modify the value name if the new name is invalid. This makes the
setter of Value.name safer in that things will not be left in an
inconsistent state if a check fails
---------
Signed-off-by: Justin Chu <justinchuby@users.noreply.github.com>1 parent 49a361c commit f0fcffb
2 files changed
+27
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2214 | 2214 | | |
2215 | 2215 | | |
2216 | 2216 | | |
2217 | | - | |
2218 | | - | |
2219 | | - | |
2220 | | - | |
2221 | | - | |
| 2217 | + | |
| 2218 | + | |
| 2219 | + | |
| 2220 | + | |
| 2221 | + | |
| 2222 | + | |
| 2223 | + | |
2222 | 2224 | | |
2223 | 2225 | | |
2224 | | - | |
| 2226 | + | |
2225 | 2227 | | |
2226 | | - | |
2227 | 2228 | | |
2228 | 2229 | | |
2229 | | - | |
2230 | 2230 | | |
2231 | 2231 | | |
2232 | | - | |
| 2232 | + | |
2233 | 2233 | | |
| 2234 | + | |
| 2235 | + | |
| 2236 | + | |
| 2237 | + | |
| 2238 | + | |
| 2239 | + | |
| 2240 | + | |
| 2241 | + | |
| 2242 | + | |
| 2243 | + | |
| 2244 | + | |
| 2245 | + | |
| 2246 | + | |
| 2247 | + | |
| 2248 | + | |
2234 | 2249 | | |
2235 | 2250 | | |
2236 | 2251 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
869 | 869 | | |
870 | 870 | | |
871 | 871 | | |
| 872 | + | |
| 873 | + | |
| 874 | + | |
872 | 875 | | |
873 | 876 | | |
874 | 877 | | |
| |||
0 commit comments