Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Comment
by
DCoder
· 10y ago · 0 comments
It would not be an error if not for `addToList(cats, new Dog())`. Based on that call, Flow infers that `cats` has to be a `Dog[]`, not `Cat[]`.
Comments
No comments yet.
Better HN