Commit 94347d6
committed
Fix Rect contains error message
This error shouldn't exist at all imo, but for backwards compatibility lets keep it for now. And the error should at least be accurate, so this commit fixes that.
Previously it would say "int" even on FRects, where it meant float. Also strengthens the tests to explicitly test the TypeError behavior of this mismatched number type scenario.1 parent 0c2020e commit 94347d6
3 files changed
+11
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
| 141 | + | |
141 | 142 | | |
142 | 143 | | |
143 | 144 | | |
| |||
257 | 258 | | |
258 | 259 | | |
259 | 260 | | |
| 261 | + | |
260 | 262 | | |
261 | 263 | | |
262 | 264 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
324 | 324 | | |
325 | 325 | | |
326 | 326 | | |
327 | | - | |
| 327 | + | |
328 | 328 | | |
329 | 329 | | |
330 | 330 | | |
331 | 331 | | |
332 | 332 | | |
333 | 333 | | |
334 | 334 | | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
335 | 338 | | |
336 | 339 | | |
337 | 340 | | |
| |||
2010 | 2013 | | |
2011 | 2014 | | |
2012 | 2015 | | |
2013 | | - | |
| 2016 | + | |
| 2017 | + | |
2014 | 2018 | | |
2015 | 2019 | | |
2016 | 2020 | | |
| |||
3027 | 3031 | | |
3028 | 3032 | | |
3029 | 3033 | | |
| 3034 | + | |
3030 | 3035 | | |
3031 | 3036 | | |
3032 | 3037 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
808 | 808 | | |
809 | 809 | | |
810 | 810 | | |
| 811 | + | |
811 | 812 | | |
812 | 813 | | |
813 | 814 | | |
| |||
3104 | 3105 | | |
3105 | 3106 | | |
3106 | 3107 | | |
| 3108 | + | |
3107 | 3109 | | |
3108 | 3110 | | |
3109 | 3111 | | |
| |||
0 commit comments