mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
9db59d010d
Previously the template binder would crash when encountering an unknown localref (# reference) such as `<div #ref="foo">` when no directive has `exportAs: "foo"`. With this commit, the compiler instead generates a template diagnostic error informing the user about the invalid reference. PR Close #33454