Is there *any* valid excuse for Dart's decision to be unsound around variance?
-
-
Replying to @mostwienski
@Sulnedinfind
@pcwalton Dart doesn't guarantee that the value of a Llama variable is really a Llama. You can assign `llama = randomAnimal`.1 reply 0 retweets 0 likes -
Replying to @jorendorff
@jorendorff no. in checked mode it would trigger and assertion and analyzer would issue a static warning. @Sulnedinfind@pcwalton2 replies 0 retweets 0 likes -
Replying to @mraleph
@mraleph@jorendorff @sulnedinfind Is this out of date then? https://www.dartlang.org/articles/why-dart-types/#optimism-on-down-assignments …2 replies 0 retweets 0 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.