Skip to content

Instantly share code, notes, and snippets.

@Grohden
Created September 6, 2020 17:58
Show Gist options
  • Save Grohden/446a283dff9e653f571677a8c94eac00 to your computer and use it in GitHub Desktop.
Save Grohden/446a283dff9e653f571677a8c94eac00 to your computer and use it in GitHub Desktop.
Tricking type system with variance stuff
void main() {
var list = ['Jonny', 'Gabriel'];
Iterable list2 = Set<String>();
list = list2;
list.sort();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment