facebook / facebook/flow

Combining intersection with union problem

Open
#4,247 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
22.3k
Forks
1.9k
PR merge metrics
No merged PRs in 30d

Description

When I have type in form `A & B | C` it can't be casted into `A & B`.
see: https://flow.org/try/#0PQKgBAAgZgNg9gdzCYAoVAXAngBwKZgCCYAvGAN6phhRxyEBcYAzhgE4CWAdgOYA0qAL7ps+MACFSFKjTrimrTrwHUOzeWHYBXPEJG4CAYSmVqtOIYXtu-GWo1QAhjGa7h6AMZwurTXlYAYoSSZAAUOGxwOMxMxABkEgCUpAB8FIIA3KhePhh+gYTGYRFRMWCGySRp5Jno2d6+GP4YQeJFYOGR0bFgCaGSAD7liZXVVBxQHSXRAHT2yabUTQXinaWJWWCCYHguBKYAkMsthWvRG1TC7sethqGL5oxgAEZ0MHiOXCpg9kzaeN9zBoAOSOZgAE2BAkEFyAA

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.