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

Side by Side Diff: pkg/front_end/test/subpackage_relationships_test.dart

Issue 2882863002: Implement full closure inference logic. (Closed)
Patch Set: Created 3 years, 7 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) 2017, 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 file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 import 'dart:async'; 5 import 'dart:async';
6 import 'dart:io'; 6 import 'dart:io';
7 7
8 import 'package:front_end/compiler_options.dart'; 8 import 'package:front_end/compiler_options.dart';
9 import 'package:front_end/dependency_grapher.dart'; 9 import 'package:front_end/dependency_grapher.dart';
10 import 'package:path/path.dart' as pathos; 10 import 'package:path/path.dart' as pathos;
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 'lib/src/fasta', 106 'lib/src/fasta',
107 'lib/src/base', 107 'lib/src/base',
108 'lib/src/fasta/kernel', 108 'lib/src/fasta/kernel',
109 'lib/src/fasta/scanner', 109 'lib/src/fasta/scanner',
110 'lib/src/scanner', 110 'lib/src/scanner',
111 ]), 111 ]),
112 'lib/src/fasta/type_inference': new SubpackageRules(allowedDependencies: [ 112 'lib/src/fasta/type_inference': new SubpackageRules(allowedDependencies: [
113 'lib/src', 113 'lib/src',
114 'lib/src/base', 114 'lib/src/base',
115 'lib/src/fasta', 115 'lib/src/fasta',
116 'lib/src/fasta/kernel',
116 ]), 117 ]),
117 'lib/src/fasta/util': new SubpackageRules(), 118 'lib/src/fasta/util': new SubpackageRules(),
118 'lib/src/incremental': new SubpackageRules(allowedDependencies: [ 119 'lib/src/incremental': new SubpackageRules(allowedDependencies: [
119 'lib', 120 'lib',
120 'lib/src', 121 'lib/src',
121 'lib/src/fasta', 122 'lib/src/fasta',
122 'lib/src/fasta/parser', 123 'lib/src/fasta/parser',
123 'lib/src/fasta/source', 124 'lib/src/fasta/source',
124 ]), 125 ]),
125 'lib/src/scanner': new SubpackageRules(allowedDependencies: [ 126 'lib/src/scanner': new SubpackageRules(allowedDependencies: [
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
287 if (subpackageRules[subpackage].allowSubdirs) { 288 if (subpackageRules[subpackage].allowSubdirs) {
288 subpackageRules[subpackage].actuallyHasSubdirs = true; 289 subpackageRules[subpackage].actuallyHasSubdirs = true;
289 } else { 290 } else {
290 problem('Uri $src is in a subfolder of $subpackage, but that ' 291 problem('Uri $src is in a subfolder of $subpackage, but that '
291 'subpackage does not allow dart files in subdirectories.'); 292 'subpackage does not allow dart files in subdirectories.');
292 } 293 }
293 } 294 }
294 return subpackage; 295 return subpackage;
295 } 296 }
296 } 297 }
OLDNEW
« no previous file with comments | « pkg/front_end/test/fasta/strong.status ('k') | pkg/front_end/testcases/inference/async_closure_return_type_future.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698