Skip to content

Conversation

acdlite
Copy link
Collaborator

@acdlite acdlite commented Apr 23, 2019

Bugfix for inferPriorityFromExpirationTime function. It happened to work in our existing tests because we use virtual time.

Flow would have caught this if ExpirationTime were an opaque type. We should consider that in the future. (The downside of opaque types is that all operations would have to go through helper functions, which may or may not get inlined by Closure.)

Bugfix for `inferPriorityFromExpirationTime` function. It happened to
work in our existing tests because we use virtual time.

Flow would have caught this if expiration times were an opaque type. We
should consider that in the future. (The downside of opaque types is
that all operations would have to go through helper functions, which may
or may not get inlined by Closure.)
@acdlite acdlite merged commit ce126fb into facebook:master Apr 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants