mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
b6510a320b
Fixes the `DebugNode.references` returning a reference to the underlying comment node, rather than the `TemplateRef` that the reference is pointing to. The issue comes from the fact that `discoverLocalRefs` falls back directly to returning the native node, if the ref isn't pointing to a directive, rather than looking through the locals. These changes resolve FW-870. PR Close #28101