facebook / facebook/flow

Function call is messing up with intersection types

Open
#4,802 7 comments 0 reactions 0 assignees View on GitHub
error messages
Dominant language
Rust
Stars
22.3k
Forks
1.9k
PR merge metrics
No merged PRs in 30d

Description

Check out line 38 of the following example: https://goo.gl/AdmME5. Does anyone know why it's failing with `property 'size'. Property cannot be accessed on any member of intersection type...` instead of pointing out first that the second argument passed to `mapPropToClass` is incorrect?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.