mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
d0e1688514
This code only runs in ES5 mode in the test suite, so this is difficult to test. However `updateFromTemplate` is being called with a spread operator, as `...updateFromTemplate(...)`. The spread operator should fail on `null` values. This change avoids the problem by always returning a (possibly empty) array. PR Close #16547