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

Side by Side 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE.md file. 3 // BSD-style license that can be found in the LICENSE.md file.
4 4
5 library fasta.test.compile_test;
6
7 import 'dart:async' show Future; 5 import 'dart:async' show Future;
8 6
9 import 'testing/suite.dart'; 7 import 'testing/suite.dart';
10 8
11 Future<FastaContext> createContext( 9 Future<FastaContext> createContext(
12 Chain suite, Map<String, String> environment) { 10 Chain suite, Map<String, String> environment) {
13 environment[ENABLE_FULL_COMPILE] = ""; 11 environment[ENABLE_FULL_COMPILE] = "";
14 environment[AST_KIND_INDEX] = "${AstKind.Analyzer.index}"; 12 environment[AST_KIND_INDEX] = "${AstKind.Analyzer.index}";
13 environment[STRONG_MODE] = "";
14 environment[SKIP_KERNEL_GENERATION] = "";
15 return FastaContext.create(suite, environment); 15 return FastaContext.create(suite, environment);
16 } 16 }
17 17
18 main(List<String> arguments) => 18 main(List<String> arguments) =>
19 runMe(arguments, createContext, "../../testing.json"); 19 runMe(arguments, createContext, "../../testing.json");
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698