Skip to content
New issue

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

Update to Dart 2.0 #98

Closed
unicomp21 opened this issue Aug 11, 2018 · 4 comments
Closed

Update to Dart 2.0 #98

unicomp21 opened this issue Aug 11, 2018 · 4 comments

Comments

@unicomp21
Copy link
Collaborator

No description provided.

@robertmuth
Copy link
Contributor

robertmuth commented Aug 11, 2018

this should be fixed now - please confirm

@unicomp21
Copy link
Collaborator Author

very close, looks like 1 error left from analysis server ... thanks!

error: Missing parameter type for 'succ'. (strong_mode_implicit_dynamic_parameter at [chronosgl] example/midi_input/midi_input.dart:8)
info: Unused import: 'dart:js'. (unused_import at [chronosgl] example/game/game.dart:4)
info: Unused import: 'dart:async'. (unused_import at [chronosgl] example/midi_input/midi_input.dart:4)
info: The value of the local variable 'elapsed' isn't used. (unused_local_variable at [chronosgl] example/midi_input/midi_input.dart:27)
info: The value of the field '_currentControlValue' isn't used. (unused_field at [chronosgl] lib/src/webhelper/midi_input.dart:4)
info: Use collection literals when possible. (prefer_collection_literals at [chronosgl] lib/src/webhelper/midi_input.dart:4)
info: The value of the field '_justUpdatedControls' isn't used. (unused_field at [chronosgl] lib/src/webhelper/midi_input.dart:5)

@unicomp21
Copy link
Collaborator Author

Hitting this too ...

/usr/lib/dart/bin/pub global run webdev serve example:33189
webdev could not run for this project.
The build_runner version – 0.10.1 – is not within the allowed constraint – >=0.8.10 <0.10.0.
Dart Dev Server terminated

@robertmuth
Copy link
Contributor

you can avoid the midi issue by just deleting the example - there is an sdk issue upstream so it does not work anyway.

for the build_runner - just weaken the constraints in pubspec.yaml and re-run "make get"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants