Skip to content

Commit 1727fe2

Browse files
pkozlowski-opensourcemhevery
authored andcommitted
refactor(ivy): name anonymous wrapper function (angular#29543)
This simple change helps with debugging / perf investigations as we can see function names on a call stack. PR Close angular#29543
1 parent 4eb6b02 commit 1727fe2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/core/src/render3/features/ng_onchanges_feature.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ function NgOnChangesFeatureImpl<T>(definition: DirectiveDef<T>): void {
5454
}
5555

5656
function wrapOnChanges() {
57-
return function(this: OnChanges) {
57+
return function wrapOnChangesHook_inPreviousChangesStorage(this: OnChanges) {
5858
const simpleChangesStore = getSimpleChangesStore(this);
5959
const current = simpleChangesStore && simpleChangesStore.current;
6060

0 commit comments

Comments
 (0)