Closed zeorin closed 6 years ago
@zeorin I was halfway through a nearly identical PR when I saw this had been opened 😆. Hopefully this can be merged soon!
@zeorin Thanks! This looks great (and thanks a lot for taking care of adding some additional test case for it, it is very much appreciated), during the weekend I've tried this locally a bit and prepared to rebase it on top on #154.
I'd like to apply some minimal changes to it (I'm going to add some comments to this pull request to highlight them), but don't worry about applying them in this PR, if we agree on them I'm going to just open a new pull request which contains those changes and the rebase of this one on top of #154 (so that I can spare you to look into any of the conflicts that I already solved locally).
I'm closing this PR in favor of the rebased version part of #155 (which already have the conflicts resolved, and some additional small change we agreed on).
Trying to run coverage on a file that has the new
@flow strict
pragma results in:This fixes that by treating it the same as the regular
@flow
pragma for coverage purposes.