Chromium Code Reviews| Index: pkg/compiler/lib/src/dart2js.dart |
| diff --git a/pkg/compiler/lib/src/dart2js.dart b/pkg/compiler/lib/src/dart2js.dart |
| index 34c0a996466a742b6c114314c00a78b7ca63c2bc..ac8d65a78d59a9fa40148c5a0a4678fd210314cd 100644 |
| --- a/pkg/compiler/lib/src/dart2js.dart |
| +++ b/pkg/compiler/lib/src/dart2js.dart |
| @@ -280,6 +280,10 @@ Future<api.CompilationResult> compile(List<String> argv) { |
| void setPreviewDart2(String argument) { |
|
Siggi Cherem (dart-lang)
2017/08/25 14:45:46
my fault, when I renamed "--preview-dart-2" to "--
Johnni Winther
2017/08/25 16:50:41
Done.
|
| useKernel = true; |
| + // TODO(sigmund): remove once we support inlining and type-inference |
| + // with `useKernel`. |
| + options.add(Flags.disableInlining); |
| + options.add(Flags.disableTypeInference); |
| passThrough(argument); |
| } |