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

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

Issue 2553443002: Add another missing error code (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 | 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 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 546 matching lines...) Expand 10 before | Expand all | Expand 10 after
557 StaticWarningCode.NOT_ENOUGH_REQUIRED_ARGUMENTS, 557 StaticWarningCode.NOT_ENOUGH_REQUIRED_ARGUMENTS,
558 StaticWarningCode.PART_OF_DIFFERENT_LIBRARY, 558 StaticWarningCode.PART_OF_DIFFERENT_LIBRARY,
559 StaticWarningCode.REDIRECT_TO_INVALID_FUNCTION_TYPE, 559 StaticWarningCode.REDIRECT_TO_INVALID_FUNCTION_TYPE,
560 StaticWarningCode.REDIRECT_TO_INVALID_RETURN_TYPE, 560 StaticWarningCode.REDIRECT_TO_INVALID_RETURN_TYPE,
561 StaticWarningCode.REDIRECT_TO_MISSING_CONSTRUCTOR, 561 StaticWarningCode.REDIRECT_TO_MISSING_CONSTRUCTOR,
562 StaticWarningCode.REDIRECT_TO_NON_CLASS, 562 StaticWarningCode.REDIRECT_TO_NON_CLASS,
563 StaticWarningCode.RETURN_WITHOUT_VALUE, 563 StaticWarningCode.RETURN_WITHOUT_VALUE,
564 StaticWarningCode.STATIC_ACCESS_TO_INSTANCE_MEMBER, 564 StaticWarningCode.STATIC_ACCESS_TO_INSTANCE_MEMBER,
565 StaticWarningCode.SWITCH_EXPRESSION_NOT_ASSIGNABLE, 565 StaticWarningCode.SWITCH_EXPRESSION_NOT_ASSIGNABLE,
566 StaticWarningCode.TYPE_ANNOTATION_DEFERRED_CLASS, 566 StaticWarningCode.TYPE_ANNOTATION_DEFERRED_CLASS,
567 StaticWarningCode.TYPE_ANNOTATION_GENERIC_FUNCTION_PARAMETER,
567 StaticWarningCode.TYPE_PARAMETER_REFERENCED_BY_STATIC, 568 StaticWarningCode.TYPE_PARAMETER_REFERENCED_BY_STATIC,
568 StaticWarningCode.TYPE_TEST_WITH_NON_TYPE, 569 StaticWarningCode.TYPE_TEST_WITH_NON_TYPE,
569 StaticWarningCode.TYPE_TEST_WITH_UNDEFINED_NAME, 570 StaticWarningCode.TYPE_TEST_WITH_UNDEFINED_NAME,
570 StaticWarningCode.UNDEFINED_CLASS, 571 StaticWarningCode.UNDEFINED_CLASS,
571 StaticWarningCode.UNDEFINED_CLASS_BOOLEAN, 572 StaticWarningCode.UNDEFINED_CLASS_BOOLEAN,
572 StaticWarningCode.UNDEFINED_GETTER, 573 StaticWarningCode.UNDEFINED_GETTER,
573 StaticWarningCode.UNDEFINED_IDENTIFIER, 574 StaticWarningCode.UNDEFINED_IDENTIFIER,
574 StaticWarningCode.UNDEFINED_IDENTIFIER_AWAIT, 575 StaticWarningCode.UNDEFINED_IDENTIFIER_AWAIT,
575 StaticWarningCode.UNDEFINED_NAMED_PARAMETER, 576 StaticWarningCode.UNDEFINED_NAMED_PARAMETER,
576 StaticWarningCode.UNDEFINED_SETTER, 577 StaticWarningCode.UNDEFINED_SETTER,
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after
891 892
892 @override 893 @override
893 int get hashCode => ordinal; 894 int get hashCode => ordinal;
894 895
895 @override 896 @override
896 int compareTo(ErrorProperty other) => ordinal - other.ordinal; 897 int compareTo(ErrorProperty other) => ordinal - other.ordinal;
897 898
898 @override 899 @override
899 String toString() => name; 900 String toString() => name;
900 } 901 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698