Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upCompile error Hooked service #249
Comments
This comment has been minimized.
This comment has been minimized.
Not work with flutter channel master |
This comment has been minimized.
This comment has been minimized.
What VM version?
On Tue, Nov 12, 2019 at 12:28 AM fleugzeug ***@***.***> wrote:
Not work with flutter channel master
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#249?email_source=notifications&email_token=ACMIUPFJBF4POJWT5V7RQDTQTI5JTA5CNFSM4JJBTQZ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDZCNPI#issuecomment-552740541>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACMIUPC6U6ZZFOUTUECXTOLQTI5JTANCNFSM4JJBTQZQ>
.
--
--
*Tobe Osakwe*
Student, B.S. Comp. Sci, Florida State University
https://thosakwe.com
|
This comment has been minimized.
This comment has been minimized.
I start with dart downloading flutter web framework, but never used flutter only dart. [!] Android toolchain - develop for Android devices (Android SDK version 29.0.2) [√] Chrome - develop for the web [√] Android Studio (version 3.5) [√] Connected device (2 available) ! Doctor found issues in 1 category. Channel dev. The VM version is: Dart VM version: 2.6.0-dev.5.0.flutter-d6c6d12ebf (Fri Oct 4 10:11:30 2019 +0000) on "windows_x64" The not working version is (as flutter doctor): [!] Android toolchain - develop for Android devices (Android SDK version 29.0.2) [√] Chrome - develop for the web [X] Visual Studio - develop for Windows [√] Android Studio (version 3.5) [√] Connected device (3 available) ! Doctor found issues in 2 categories. Dart VM version: Dart VM version: 2.7.0 (Fri Nov 8 21:32:48 2019 +0000) on "windows_x64" On channel master of flutter. |
This comment has been minimized.
This comment has been minimized.
I'm having the same issue once I upgrade to Dart 2.7. Anyone find a workaround for this? |
This comment has been minimized.
This comment has been minimized.
I’m guessing it’s a type error that was ignored by the Dart VM prior to
2.6. I’ll be sure to put out a patch ASAP. The new version will be 2.0.4+1.
On Tue, Nov 19, 2019 at 6:59 AM Venkat Dinavahi ***@***.***> wrote:
I'm having the same issue once I upgrade to Dart 2.7. Anyone find a
workaround for this?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#249?email_source=notifications&email_token=ACMIUPAMJJ7KJCQIBEPVV6DQUP5LVA5CNFSM4JJBTQZ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEEOPK7A#issuecomment-555545980>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACMIUPBG27LPYK6PWW3DQA3QUP5LVANCNFSM4JJBTQZQ>
.
--
--
*Tobe Osakwe*
Student, B.S. Comp. Sci, Florida State University
https://thosakwe.com
|
This comment has been minimized.
This comment has been minimized.
This is resolved in |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
thanks a lot |
I'm getting a startup error as the attached error message:
/C:/Users/massi/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/angel_framework-2.0.4+1/lib/src/core/hooked_service.dart:102:27: Error: The argument type 'List<FutureOr Function(HookedServiceEvent<dynamic, dynamic, Service<Null, Null>>)>' can't be assigned to the parameter type 'Iterable<FutureOr Function(HookedServiceEvent<Id, Data, T>)>'.
before.addAll(hooks.before);
/C:/Users/massi/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/angel_framework-2.0.4+1/lib/src/core/hooked_service.dart:103:26: Error: The argument type 'List<FutureOr Function(HookedServiceEvent<dynamic, dynamic, Service<Null, Null>>)>' can't be assigned to the parameter type 'Iterable<FutureOr Function(HookedServiceEvent<Id, Data, T>)>'.
after.addAll(hooks.after);
^
/C:/Users/massi/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/angel_framework-2.0.4+1/lib/src/core/hooked_service.dart:114:42: Error: The argument type 'List<FutureOr Function(HookedServiceEvent<dynamic, dynamic, Service<Null, Null>>)>' can't be assigned to the parameter type 'Iterable<FutureOr Function(HookedServiceEvent<Id, Data, T>)>'.
listeners.addAll(isAfter == true ? hooks.after : hooks.before);
I just repair cache and do an upgrade of flutter package and pub upgrade.
The application is a backend web server running in a VM.
The problem happen with DART SDK 2.7.0, 2.5.0 and 2.3.0 not happen.
I fould the flutter masterchannel introduce this error.
If you want to reproduce the error use flutter master channel and upgrade.
I switch back to dev channel and everything is working.