facebook / facebook/flow

Function call is messing up with intersection types

Offen
#4,802 7 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
error messages
Vorherrschende Sprache
Rust
Sterne
22.3k
Forks
1.9k
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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?

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.