Commit 60750b4
committed
Fix handling of bad pointers in arrays
When refactoring this code, I lost a behavior where a pointer to an
object that isn't found is dropped from the results (I had been
leaving an `undefined` in its place).
There's one tricky wrinkle, which is that if the value in the array is
`null`, it should be retained (see #2189 for
more details on why this is the expected behavior).1 parent e9496d0 commit 60750b4
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
963 | 963 | | |
964 | 964 | | |
965 | 965 | | |
966 | | - | |
967 | | - | |
968 | | - | |
| 966 | + | |
| 967 | + | |
| 968 | + | |
969 | 969 | | |
970 | 970 | | |
971 | 971 | | |
| |||
0 commit comments