Make analyzer happy about CompilerImpl use of setupSdk.

BUG=
R=sigmund@google.com

Review-Url: https://codereview.chromium.org/2608533002 .
This commit is contained in:
Emily Fortuna 2016-12-28 11:33:18 -08:00
parent b8dbee257c
commit b4fcf784bd

View file

@ -73,7 +73,7 @@ main(List<String> arguments) async {
}
Future<Compiler> newCompiler() async {
Compiler compiler = compilerFor(
var compiler = compilerFor(
options: [Flags.analyzeOnly, Flags.analyzeAll, Flags.useKernel]);
await compiler.setupSdk();