Commit edbcb79
committed
some type safety for
Disallows any type `Fix{x}` where `!(x isa Int) || (x < 0)`.
Follows up on PR JuliaLang#54653.
The goals are similar as in the closed PR JuliaLang#56518, but less ambitious.
I hope it's not too late in the release cycle to consider this change
as it seems not to be invasive or disruptive.Fix
1 parent baf8124 commit edbcb79
2 files changed
+9
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1170 | 1170 | | |
1171 | 1171 | | |
1172 | 1172 | | |
1173 | | - | |
| 1173 | + | |
1174 | 1174 | | |
1175 | 1175 | | |
1176 | 1176 | | |
1177 | 1177 | | |
1178 | | - | |
1179 | | - | |
1180 | | - | |
1181 | | - | |
| 1178 | + | |
| 1179 | + | |
1182 | 1180 | | |
1183 | | - | |
| 1181 | + | |
1184 | 1182 | | |
1185 | 1183 | | |
1186 | 1184 | | |
| |||
1196 | 1194 | | |
1197 | 1195 | | |
1198 | 1196 | | |
1199 | | - | |
| 1197 | + | |
1200 | 1198 | | |
1201 | 1199 | | |
1202 | 1200 | | |
1203 | 1201 | | |
1204 | | - | |
| 1202 | + | |
1205 | 1203 | | |
1206 | 1204 | | |
1207 | 1205 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
348 | 348 | | |
349 | 349 | | |
350 | 350 | | |
| 351 | + | |
351 | 352 | | |
352 | | - | |
353 | | - | |
| 353 | + | |
| 354 | + | |
354 | 355 | | |
355 | 356 | | |
356 | 357 | | |
| |||
0 commit comments