hhvm / hsl-experimental

Experimental features for the Hack Standard Library
MIT License
23 stars 10 forks source link

Remove redundant call to invariant #168

Closed lexidor closed 3 years ago

lexidor commented 3 years ago

The while loop will spin until $idx is nonnull. This invariant was needed previously, but a recent commit changed the code in such a way that the typechecker can understand this invariant.

facebook-github-bot commented 3 years ago

@fredemmott merged this pull request in hhvm/hsl-experimental@1303708daf8915bc8837cff75af51ff604728229.