From 7d0536b87a5d8feb6f3cdbd569ea4d009ce0d559 Mon Sep 17 00:00:00 2001 From: Alexander Markov Date: Wed, 7 Mar 2018 09:35:22 -0800 Subject: [PATCH] Enable global type flow analysis in Dart 2 AOT (#15221) --- packages/flutter_tools/lib/src/compile.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/flutter_tools/lib/src/compile.dart b/packages/flutter_tools/lib/src/compile.dart index 86661b9343..24e6f91691 100644 --- a/packages/flutter_tools/lib/src/compile.dart +++ b/packages/flutter_tools/lib/src/compile.dart @@ -74,6 +74,7 @@ Future compile( command.add('--no-link-platform'); if (aot) { command.add('--aot'); + command.add('--tfa'); } if (entryPointsJsonFiles != null) { for (String entryPointsJson in entryPointsJsonFiles) {