Bad interaction with fake-zones. - static futures must be created in the root zone. #32556
Creating an external tracking issue so that it can be referenced from package:test.
From an internal investigation:
This is a bug in the SDK and a bad interaction with the fake-zones.
These are returned from internal classes whenever needed.
What happens now is that the first time the
This will never execute the
The only reason it is sometimes working, is that it hits our optimizations in the stream class. There we don't even call
This also explains most of Nate's scenarios: as soon as you actually call
For some reason the whole
The solution is as simple as creating these static futures in the root-zone. Inside async/future.dart:
The text was updated successfully, but these errors were encountered: