Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(643)

Unified Diff: pkg/front_end/test/fasta/ast_builder_test.dart

Issue 2981693002: Start copying resolution/inference data from front end to analyzer ASTs. (Closed)
Patch Set: Address code review comments. Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pkg/front_end/test/fasta/ast_builder_test.dart
diff --git a/pkg/front_end/test/fasta/kompile_test.dart b/pkg/front_end/test/fasta/ast_builder_test.dart
similarity index 79%
copy from pkg/front_end/test/fasta/kompile_test.dart
copy to pkg/front_end/test/fasta/ast_builder_test.dart
index 84fae030a9e871870cfb32b05ebadbdf18982948..def6bf04910aec0b126c725386655e110ec5154f 100644
--- a/pkg/front_end/test/fasta/kompile_test.dart
+++ b/pkg/front_end/test/fasta/ast_builder_test.dart
@@ -1,9 +1,7 @@
-// Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
+// Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE.md file.
-library fasta.test.compile_test;
-
import 'dart:async' show Future;
import 'testing/suite.dart';
@@ -12,6 +10,8 @@ Future<FastaContext> createContext(
Chain suite, Map<String, String> environment) {
environment[ENABLE_FULL_COMPILE] = "";
environment[AST_KIND_INDEX] = "${AstKind.Analyzer.index}";
+ environment[STRONG_MODE] = "";
+ environment[SKIP_KERNEL_GENERATION] = "";
return FastaContext.create(suite, environment);
}

Powered by Google App Engine
This is Rietveld 408576698