-
Notifications
You must be signed in to change notification settings - Fork 248
Must bump perf_api to 0.0.9 to fix checked mode in dart 1.6 #1407
Comments
seems to be a dup of dart-archive/angular.dart.tutorial#128, #1350 |
Hmm.. the fix for that seems completely unrelated though: https://github.com/angular/angular.dart/pull/1353/files |
@lassedamgaard seems a valid concern. However we depend on '>=0.0.8 <0.1.0' then the latest release (0.0.9) should be installed. Do you have some other package that depends on '<0.0.9' ? I'll fix our req but I'd like to understand how you got 0.0.8 installed, ie if other pkgs need tp be updated |
fixes dart-archive#1407 perf_api 0.0.8 contains an invalid const constructor which the type checker ignored in dart 1.5.8 but throws on in 1.6. Using 0.0.9 fixes this.
@vicb I don't have other components that depend on perf_api but am using pubspec.lock and don't upgrade dependencies that often. So it was simply the case that my lockfile was created when only perf_api 0.0.8 was available and I hadn't upgraded it since. |
@lassedamgaard I agree with you, I only wanted to check if other packages need to be updated. The PR has been submitted (the lock file is master is alright, only |
perf_api 0.0.8 contains an invalid const constructor which the type checker ignored in dart 1.5.8 but throws on in 1.6. Using 0.0.9 fixes this. See google/perf_api.dart@3f0ae97
Error in dart 1.6 using 0.0.8:
The text was updated successfully, but these errors were encountered: