Commit 0cc58fd
authored
Fix assert in RenderObject.getTransformTo() (flutter#81590)
The assert was never hitting because it was first hitting a
null cast error in the `renderer.parent!` line in the for
loop.1 parent 9956a35 commit 0cc58fd
File tree
2 files changed
+10
-1
lines changed- packages/flutter
- lib/src/rendering
- test/rendering
2 files changed
+10
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2397 | 2397 | | |
2398 | 2398 | | |
2399 | 2399 | | |
2400 | | - | |
2401 | 2400 | | |
| 2401 | + | |
2402 | 2402 | | |
2403 | 2403 | | |
2404 | 2404 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
103 | 112 | | |
104 | 113 | | |
105 | 114 | | |
| |||
0 commit comments