This repository has been archived by the owner on Aug 1, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 19
Assertion failure on getStack with a BoundVariable of type @TypeArguments #41
Comments
The code I'm stepping through looks like this: Future<void> doAsyncStuff() async {
print("test"); // BREAKPOINT
await new Future.value(true);
print("test2");
await new Future.microtask(() => true);
print("test3");
await new Future.delayed(const Duration(milliseconds: 1));
print("done!");
} |
For context, this is blocking us from writing some tests we'd like to have for Flutter. |
I think for this case, the spec needs to be updated:
For above, we should add and, the assert should be updated to allow for |
I've opened a PR that updates the spec. Once that's resolved (assuming it's correct) I'll take a look at this - looks like we already have a |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I hit this failed assertion in
getStack
. It's expecting thetype
of aBoundVariable
to be@Instance
orInstance
but it's a@TypeArguments
:Here's the problematic JSON:
And here is the full stack response from the VM.
The text was updated successfully, but these errors were encountered: