Commit 53aa65a
authored
inference: improve robustness of
I found `getfield_tfunc` can easily throw on this code path.
In the added test case, I intentionally used `PartialStruct` as an
example target that can cause an error, but the same thing can happen
for other arbitrary `CompilerTypes` objects.getfield_tfunc (#42378)1 parent 53da724 commit 53aa65a
2 files changed
+10
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
883 | 883 | | |
884 | 884 | | |
885 | 885 | | |
| 886 | + | |
886 | 887 | | |
887 | 888 | | |
888 | 889 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
241 | 241 | | |
242 | 242 | | |
243 | 243 | | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
244 | 253 | | |
245 | 254 | | |
246 | 255 | | |
| |||
0 commit comments