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

Side by Side Diff: lib/src/compiler/compiler.dart

Issue 2102053003: Remove DDC custom error list now that strong mode analyzer handles it (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: another fix Created 4 years, 4 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
« no previous file with comments | « lib/src/analyzer/dart_sdk.dart ('k') | lib/src/compiler/error_helpers.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2016, 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:collection' show HashSet; 5 import 'dart:collection' show HashSet;
6 import 'package:args/args.dart' show ArgParser, ArgResults; 6 import 'package:args/args.dart' show ArgParser, ArgResults;
7 import 'package:args/src/usage_exception.dart' show UsageException; 7 import 'package:args/src/usage_exception.dart' show UsageException;
8 import 'package:analyzer/analyzer.dart' 8 import 'package:analyzer/analyzer.dart'
9 show 9 show
10 AnalysisError, 10 AnalysisError,
(...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after
355 } 355 }
356 return map; 356 return map;
357 } 357 }
358 } 358 }
359 359
360 /// (Public for tests) the error code used when a part is missing. 360 /// (Public for tests) the error code used when a part is missing.
361 final missingPartErrorCode = const CompileTimeErrorCode( 361 final missingPartErrorCode = const CompileTimeErrorCode(
362 'MISSING_PART', 'The part was not supplied as an input to the compiler.'); 362 'MISSING_PART', 'The part was not supplied as an input to the compiler.');
363 363
364 /// (Public for tests) the error code used when a part is unused. 364 /// (Public for tests) the error code used when a part is unused.
365 final unusedPartWarningCode = const StaticWarningCode( 365 final unusedPartWarningCode = const StaticWarningCode('UNUSED_PART',
366 'UNUSED_PART', 'The part was not used by any libraries being compiled.'); 366 'The part was not used by any libraries being compiled.', null, false);
OLDNEW
« no previous file with comments | « lib/src/analyzer/dart_sdk.dart ('k') | lib/src/compiler/error_helpers.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698