Skip to content

Instantly share code, notes, and snippets.

@eseidel
Created January 8, 2020 05:59
Show Gist options
  • Save eseidel/6ffc75ebaf5ce32768b1df7659c08cb3 to your computer and use it in GitHub Desktop.
Save eseidel/6ffc75ebaf5ce32768b1df7659c08cb3 to your computer and use it in GitHub Desktop.
Confusing analysis error
List<int> foo = [1, 2];
// a whole bunch of code
void List<int> bar = [2, 3];
// accidental void above, causes *much* earlier errors with "List" type
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment