Skip to content
This repository has been archived by the owner on Sep 7, 2022. It is now read-only.

Remove func.dart and use Dart 2's Function syntax #344

Closed
ditman opened this issue Oct 13, 2020 · 0 comments · Fixed by #380
Closed

Remove func.dart and use Dart 2's Function syntax #344

ditman opened this issue Oct 13, 2020 · 0 comments · Fixed by #380

Comments

@ditman
Copy link
Contributor

ditman commented Oct 13, 2020

func.dart has this comment:

TODO: once Dart v1 support is dropped, use new Function syntax instead

Looking at the pubspec, it seems Dart 1 was dropped long ago (min SDK version is 2.7.0), but that file, and some usages of the Func types defined there still persist.

(It may have also caused issues like this.)

The file should be removed, and the FuncX types rewritten as modern Function types.

kevmoo added a commit that referenced this issue Dec 17, 2020
@kevmoo kevmoo self-assigned this Dec 17, 2020
kevmoo added a commit that referenced this issue Dec 17, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants