We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In the following code, the analyzer type inference fails and produces dynamic for the recursive call on line 4 only. The non-recursive case succeeds.
void _mergeSort2<T>(List<T> list, int compare(T a, T b), List<T> target) {} void _mergeSort<T>(List<T> list, int compare(T a, T b), List<T> target) { _mergeSort(list, compare, target); // Error _mergeSort(list, compare, list); _mergeSort(target, compare, target); _mergeSort(target, compare, list); _mergeSort2(list, compare, target); _mergeSort2(list, compare, list); _mergeSort2(target, compare, target); _mergeSort2(target, compare, list); }
The text was updated successfully, but these errors were encountered:
dd17a4c
leafpetersen
No branches or pull requests
In the following code, the analyzer type inference fails and produces dynamic for the recursive call on line 4 only. The non-recursive case succeeds.
The text was updated successfully, but these errors were encountered: