mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
fa7cb4b87a
Back in #39323, I added a new `ThisReceiver` node to represent accesses done through `this` and I ended up making it inherit from `ImplicitReceiver`. The logic was that in most cases accessing through `this` was the same as the implicit access. Over the years this has proven to not be a great idea, because no other AST nodes do this and one has to keep it in mind whenever dealing with `ImplicitReceiver`. These changes remove the inheritance and update all of the usage sites accordingly.
6.6 KiB
6.6 KiB