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

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

Issue 2557513008: Enable messages in asserts by default (Closed)
Patch Set: Created 4 years 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 | « no previous file | pkg/analyzer/lib/src/context/context.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) 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 library analyzer.error.error; 5 library analyzer.error.error;
6 6
7 import 'dart:collection'; 7 import 'dart:collection';
8 8
9 import 'package:analyzer/dart/element/element.dart'; 9 import 'package:analyzer/dart/element/element.dart';
10 import 'package:analyzer/error/listener.dart'; 10 import 'package:analyzer/error/listener.dart';
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 CompileTimeErrorCode.DUPLICATE_DEFINITION, 105 CompileTimeErrorCode.DUPLICATE_DEFINITION,
106 CompileTimeErrorCode.DUPLICATE_DEFINITION_INHERITANCE, 106 CompileTimeErrorCode.DUPLICATE_DEFINITION_INHERITANCE,
107 CompileTimeErrorCode.DUPLICATE_NAMED_ARGUMENT, 107 CompileTimeErrorCode.DUPLICATE_NAMED_ARGUMENT,
108 CompileTimeErrorCode.DUPLICATE_PART, 108 CompileTimeErrorCode.DUPLICATE_PART,
109 CompileTimeErrorCode.EXPORT_INTERNAL_LIBRARY, 109 CompileTimeErrorCode.EXPORT_INTERNAL_LIBRARY,
110 CompileTimeErrorCode.EXPORT_OF_NON_LIBRARY, 110 CompileTimeErrorCode.EXPORT_OF_NON_LIBRARY,
111 CompileTimeErrorCode.EXTENDS_DEFERRED_CLASS, 111 CompileTimeErrorCode.EXTENDS_DEFERRED_CLASS,
112 CompileTimeErrorCode.EXTENDS_DISALLOWED_CLASS, 112 CompileTimeErrorCode.EXTENDS_DISALLOWED_CLASS,
113 CompileTimeErrorCode.EXTENDS_ENUM, 113 CompileTimeErrorCode.EXTENDS_ENUM,
114 CompileTimeErrorCode.EXTENDS_NON_CLASS, 114 CompileTimeErrorCode.EXTENDS_NON_CLASS,
115 CompileTimeErrorCode.EXTRA_ARGUMENT_TO_ASSERT,
116 CompileTimeErrorCode.EXTRA_POSITIONAL_ARGUMENTS, 115 CompileTimeErrorCode.EXTRA_POSITIONAL_ARGUMENTS,
117 CompileTimeErrorCode.FIELD_INITIALIZED_BY_MULTIPLE_INITIALIZERS, 116 CompileTimeErrorCode.FIELD_INITIALIZED_BY_MULTIPLE_INITIALIZERS,
118 CompileTimeErrorCode.FIELD_INITIALIZED_IN_PARAMETER_AND_INITIALIZER, 117 CompileTimeErrorCode.FIELD_INITIALIZED_IN_PARAMETER_AND_INITIALIZER,
119 CompileTimeErrorCode.FIELD_INITIALIZER_FACTORY_CONSTRUCTOR, 118 CompileTimeErrorCode.FIELD_INITIALIZER_FACTORY_CONSTRUCTOR,
120 CompileTimeErrorCode.FIELD_INITIALIZER_OUTSIDE_CONSTRUCTOR, 119 CompileTimeErrorCode.FIELD_INITIALIZER_OUTSIDE_CONSTRUCTOR,
121 CompileTimeErrorCode.FIELD_INITIALIZER_REDIRECTING_CONSTRUCTOR, 120 CompileTimeErrorCode.FIELD_INITIALIZER_REDIRECTING_CONSTRUCTOR,
122 CompileTimeErrorCode.FINAL_INITIALIZED_MULTIPLE_TIMES, 121 CompileTimeErrorCode.FINAL_INITIALIZED_MULTIPLE_TIMES,
123 CompileTimeErrorCode.GETTER_AND_METHOD_WITH_SAME_NAME, 122 CompileTimeErrorCode.GETTER_AND_METHOD_WITH_SAME_NAME,
124 CompileTimeErrorCode.IMPLEMENTS_DEFERRED_CLASS, 123 CompileTimeErrorCode.IMPLEMENTS_DEFERRED_CLASS,
125 CompileTimeErrorCode.IMPLEMENTS_DISALLOWED_CLASS, 124 CompileTimeErrorCode.IMPLEMENTS_DISALLOWED_CLASS,
(...skipping 770 matching lines...) Expand 10 before | Expand all | Expand 10 after
896 895
897 @override 896 @override
898 int get hashCode => ordinal; 897 int get hashCode => ordinal;
899 898
900 @override 899 @override
901 int compareTo(ErrorProperty other) => ordinal - other.ordinal; 900 int compareTo(ErrorProperty other) => ordinal - other.ordinal;
902 901
903 @override 902 @override
904 String toString() => name; 903 String toString() => name;
905 } 904 }
OLDNEW
« no previous file with comments | « no previous file | pkg/analyzer/lib/src/context/context.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698