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

Side by Side Diff: pkg/analyzer/lib/src/generated/error.dart

Issue 643763002: Make "error" the default severity for checked mode compile time errors. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « pkg/analyzer/lib/src/analyzer_impl.dart ('k') | no next file » | 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) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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 // This code was auto-generated, is not intended to be edited, and is subject to 5 // This code was auto-generated, is not intended to be edited, and is subject to
6 // significant change. Please see the README file for more information. 6 // significant change. Please see the README file for more information.
7 7
8 library engine.error; 8 library engine.error;
9 9
10 import 'dart:collection'; 10 import 'dart:collection';
(...skipping 2375 matching lines...) Expand 10 before | Expand all | Expand 10 after
2386 2386
2387 /** 2387 /**
2388 * Compile-time errors are errors that preclude execution. A compile time erro r must be reported 2388 * Compile-time errors are errors that preclude execution. A compile time erro r must be reported
2389 * by a Dart compiler before the erroneous code is executed. 2389 * by a Dart compiler before the erroneous code is executed.
2390 */ 2390 */
2391 static const ErrorType COMPILE_TIME_ERROR = const ErrorType('COMPILE_TIME_ERRO R', 2, ErrorSeverity.ERROR); 2391 static const ErrorType COMPILE_TIME_ERROR = const ErrorType('COMPILE_TIME_ERRO R', 2, ErrorSeverity.ERROR);
2392 2392
2393 /** 2393 /**
2394 * Checked mode compile-time errors are errors that preclude execution in chec ked mode. 2394 * Checked mode compile-time errors are errors that preclude execution in chec ked mode.
2395 */ 2395 */
2396 static const ErrorType CHECKED_MODE_COMPILE_TIME_ERROR = const ErrorType('CHEC KED_MODE_COMPILE_TIME_ERROR', 3, ErrorSeverity.INFO); 2396 static const ErrorType CHECKED_MODE_COMPILE_TIME_ERROR = const ErrorType('CHEC KED_MODE_COMPILE_TIME_ERROR', 3, ErrorSeverity.ERROR);
2397 2397
2398 /** 2398 /**
2399 * Static warnings are those warnings reported by the static checker. They hav e no effect on 2399 * Static warnings are those warnings reported by the static checker. They hav e no effect on
2400 * execution. Static warnings must be provided by Dart compilers used during d evelopment. 2400 * execution. Static warnings must be provided by Dart compilers used during d evelopment.
2401 */ 2401 */
2402 static const ErrorType STATIC_WARNING = const ErrorType('STATIC_WARNING', 4, E rrorSeverity.WARNING); 2402 static const ErrorType STATIC_WARNING = const ErrorType('STATIC_WARNING', 4, E rrorSeverity.WARNING);
2403 2403
2404 /** 2404 /**
2405 * Many, but not all, static warnings relate to types, in which case they are known as static type 2405 * Many, but not all, static warnings relate to types, in which case they are known as static type
2406 * warnings. 2406 * warnings.
(...skipping 1776 matching lines...) Expand 10 before | Expand all | Expand 10 after
4183 4183
4184 @override 4184 @override
4185 String get message => "{0}"; 4185 String get message => "{0}";
4186 4186
4187 @override 4187 @override
4188 ErrorType get type => ErrorType.TODO; 4188 ErrorType get type => ErrorType.TODO;
4189 4189
4190 @override 4190 @override
4191 String get uniqueName => "${runtimeType.toString()}.${name}"; 4191 String get uniqueName => "${runtimeType.toString()}.${name}";
4192 } 4192 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/analyzer_impl.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698