Skip to content
Snippets Groups Projects
Unverified Commit f4e99def authored by Nate Bosch's avatar Nate Bosch Committed by GitHub
Browse files

Fix Dart 2 parse bugs in the VM (#810)

I'm not sure why the analyzer doesn't catch these, they appear to be
parse time bugs not runtime bugs when executing in the vm with
--preview-dart-2
parent 8bbedd4e
No related branches found
No related tags found
No related merge requests found
...@@ -79,7 +79,7 @@ class Chrome extends Browser { ...@@ -79,7 +79,7 @@ class Chrome extends Browser {
}; };
if (!debug) return tryPort(); if (!debug) return tryPort();
return getUnusedPort<Future<Process>>(tryPort); return getUnusedPort<Process>(tryPort);
}, remoteDebuggerCompleter.future); }, remoteDebuggerCompleter.future);
} }
......
...@@ -117,7 +117,7 @@ class Dartium extends Browser { ...@@ -117,7 +117,7 @@ class Dartium extends Browser {
}; };
if (!debug) return tryPort(); if (!debug) return tryPort();
return getUnusedPort<Future<Process>>(tryPort); return getUnusedPort<Process>(tryPort);
}, observatoryCompleter.future, remoteDebuggerCompleter.future); }, observatoryCompleter.future, remoteDebuggerCompleter.future);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment