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

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

Issue 2829223007: Introduce initial plumbing for type promotion in fasta. (Closed)
Patch Set: Add missing copyrights Created 3 years, 8 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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 'lib/src/fasta', 104 'lib/src/fasta',
105 'lib/src/base', 105 'lib/src/base',
106 'lib/src/fasta/dill', 106 'lib/src/fasta/dill',
107 'lib/src/fasta/kernel', 107 'lib/src/fasta/kernel',
108 'lib/src/fasta/analyzer', 108 'lib/src/fasta/analyzer',
109 'lib/src/fasta/scanner', 109 'lib/src/fasta/scanner',
110 ]), 110 ]),
111 'lib/src/fasta/type_inference': new SubpackageRules(allowedDependencies: [ 111 'lib/src/fasta/type_inference': new SubpackageRules(allowedDependencies: [
112 'lib/src', 112 'lib/src',
113 'lib/src/base', 113 'lib/src/base',
114 'lib/src/fasta',
114 ]), 115 ]),
115 'lib/src/fasta/util': new SubpackageRules(), 116 'lib/src/fasta/util': new SubpackageRules(),
116 'lib/src/scanner': new SubpackageRules(allowedDependencies: [ 117 'lib/src/scanner': new SubpackageRules(allowedDependencies: [
117 'lib/src/base', 118 'lib/src/base',
118 // For error codes. 119 // For error codes.
119 'lib/src/fasta', 120 'lib/src/fasta',
120 // fasta scanner produces analyzer scanner tokens 121 // fasta scanner produces analyzer scanner tokens
121 'lib/src/fasta/scanner', 122 'lib/src/fasta/scanner',
122 ]), 123 ]),
123 }; 124 };
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
278 if (subpackageRules[subpackage].allowSubdirs) { 279 if (subpackageRules[subpackage].allowSubdirs) {
279 subpackageRules[subpackage].actuallyHasSubdirs = true; 280 subpackageRules[subpackage].actuallyHasSubdirs = true;
280 } else { 281 } else {
281 problem('Uri $src is in a subfolder of $subpackage, but that ' 282 problem('Uri $src is in a subfolder of $subpackage, but that '
282 'subpackage does not allow dart files in subdirectories.'); 283 'subpackage does not allow dart files in subdirectories.');
283 } 284 }
284 } 285 }
285 return subpackage; 286 return subpackage;
286 } 287 }
287 } 288 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698