-
Notifications
You must be signed in to change notification settings - Fork 25.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(ChangeDetector): support for NaN #4853
Conversation
@@ -202,4 +209,6 @@ export class ChangeDetectionUtil { | |||
static directiveIndex(elementIndex: number, directiveIndex: number): DirectiveIndex { | |||
return new DirectiveIndex(elementIndex, directiveIndex); | |||
} | |||
|
|||
static looseNotIdentical(a: any, b: any): boolean { return !looseIdentical(a, b); } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we have to have looseNotIdentical or just calling !notIdentical is good enough?
If we do, can you change DynamicChangeDetector to use it too?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looseNotIdentical
comes from a comment by @mhevery in the Dart pregen PR to avoid avoid to repeat !looseIdentical
everywhere (in the generated code)
Now we are consistent by having looseNotIdentical
everywhere - instead of having it only for Dart.
Merging PR #4853 on behalf of @vicb to branch presubmit-vicb-pr-4853. |
Merging PR #4853 on behalf of @vicb to branch presubmit-vicb-pr-4853. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
No description provided.