-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Dart 1.19.0 breaks Angular2 change detection #26839
Comments
That might have been changes I did. |
I'm not sure that this would be a release blocker for 1.18, since this is not on that dev branch. This could also be due to a change in which packages are checked out, when the version number changed. Could you check the output of pub get (or the pubspec.lock file) for your project, under the two versions? I know test needed to be updated, and maybe other packages are choosing different versions. The two versions you have tested differ by just 2 commits: The version number change, and a documentation change. So I would suspect the version change had an impact. You could override the project, running with the 1.19 SDK, with the package versions from the 1.18 version of pub get, to see if that fixes it. |
Test was already updated to support Dart 1.19. I'll try to create a reproduction project but I don't know if I will be able to do it before my vacation next week. |
I won't be able to set up a project, I have to go. What I did is something like String someProp = 'init';
ngOnInit() {
new Future(() => this.someProp = 'foo');
} which should invoke change detection after the future completed to update, but doesn't (only after some other event (mouse click, ...) invokes change detection.
|
Let's verify that this is not on 1.18.0-dev.4.0, before releasing it to stable. |
I can reproduce in |
Putting in 1.18 to see if it's related to #26906 |
The original submission indicated it was not in 1.18.0-dev, I just wanted On Mon, Jul 18, 2016 at 9:55 PM, Kevin Moore notifications@github.com
William Hesse |
If that's the case, feel free to remove the milestone – or push it back to 1.19. Just being careful. |
Bumping to 1.19 |
I don't know if the related code is included in
but after updating to this version I'm not able to reproduce the problem. |
Since the branch for 1.18, we reverted a major change to async futures, and a change to URIs. I would suspect the change of futures, but in the original report, the problem seemed to arise exactly when we changed the version number to 1.19, so it could also have been something about the pubspec and package versions. I would like to keep this open until we reland the changes to async, to make sure it doesn't reoccur. @floitschG |
@floitschG @whesse can we close this now? |
I haven't heard of any breakage recently. Closing for now. |
Dart VM version: 1.19.0-edge.c0d594c86c7a9f132a8274c8223c3a1dcdf6692c (Wed Jul 6 06:52:12 2016) on "linux_x64"
breaks change detection for async calls like ´new Future((){...})` in Angular2 beta.17
Its working fine when I switch back to
Dart VM version: 1.18.0-edge.bb96f289217952cd7d298444519fc07dca995dee (Wed Jul 6 00:20:52 2016) on "linux_x64"
The text was updated successfully, but these errors were encountered: