You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In our project (https://github.com/facebook/flow) we generally enable the name-out-of-scope warning. The code generated by [%expect ...] seems to trip it:
Error (warning 40 [name-out-of-scope]): this record of type Expect_test_common.File.Location.t contains fields that are
not visible in the current scope: filename line_number line_start start_pos end_pos.
They will not be selected if the type becomes unknown.
In our project (https://github.com/facebook/flow) we generally enable the
name-out-of-scope
warning. The code generated by[%expect ...]
seems to trip it:I think it's coming from here:
ppx_expect/src/main.ml
Lines 11 to 20 in a1f22ff
Would you mind explicitly scoping that record, or perhaps suppressing the warning?
The text was updated successfully, but these errors were encountered: