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

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

Issue 2314963002: Remove the final error being generated in a scope (Closed)
Patch Set: Created 4 years, 3 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) 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.src.generated.error; 5 library analyzer.src.generated.error;
6 6
7 import 'dart:collection'; 7 import 'dart:collection';
8 8
9 import 'package:analyzer/dart/ast/ast.dart' show AstNode; 9 import 'package:analyzer/dart/ast/ast.dart' show AstNode;
10 import 'package:analyzer/dart/ast/token.dart'; 10 import 'package:analyzer/dart/ast/token.dart';
(...skipping 4756 matching lines...) Expand 10 before | Expand all | Expand 10 after
4767 * 14.1 Imports: If a name <i>N</i> is referenced by a library <i>L</i> and 4767 * 14.1 Imports: If a name <i>N</i> is referenced by a library <i>L</i> and
4768 * <i>N</i> would be introduced into the top level scope of <i>L</i> by an 4768 * <i>N</i> would be introduced into the top level scope of <i>L</i> by an
4769 * import from a library whose URI begins with <i>dart:</i> and an import from 4769 * import from a library whose URI begins with <i>dart:</i> and an import from
4770 * a library whose URI does not begin with <i>dart:</i>: 4770 * a library whose URI does not begin with <i>dart:</i>:
4771 * * The import from <i>dart:</i> is implicitly extended by a hide N clause. 4771 * * The import from <i>dart:</i> is implicitly extended by a hide N clause.
4772 * * A static warning is issued. 4772 * * A static warning is issued.
4773 * 4773 *
4774 * Parameters: 4774 * Parameters:
4775 * 0: the ambiguous name 4775 * 0: the ambiguous name
4776 * 1: the name of the dart: library in which the element is found 4776 * 1: the name of the dart: library in which the element is found
4777 * 1: the name of the non-dart: library in which the element is found 4777 * 2: the name of the non-dart: library in which the element is found
4778 */ 4778 */
4779 static const StaticWarningCode CONFLICTING_DART_IMPORT = 4779 static const StaticWarningCode CONFLICTING_DART_IMPORT =
4780 const StaticWarningCode('CONFLICTING_DART_IMPORT', 4780 const StaticWarningCode('CONFLICTING_DART_IMPORT',
4781 "Element '{0}' from SDK library '{1}' is implicitly hidden by '{2}'"); 4781 "Element '{0}' from SDK library '{1}' is implicitly hidden by '{2}'");
4782 4782
4783 /** 4783 /**
4784 * 7.2 Getters: It is a static warning if a class <i>C</i> declares an 4784 * 7.2 Getters: It is a static warning if a class <i>C</i> declares an
4785 * instance getter named <i>v</i> and an accessible static member named 4785 * instance getter named <i>v</i> and an accessible static member named
4786 * <i>v</i> or <i>v=</i> is declared in a superclass of <i>C</i>. 4786 * <i>v</i> or <i>v=</i> is declared in a superclass of <i>C</i>.
4787 * 4787 *
(...skipping 1352 matching lines...) Expand 10 before | Expand all | Expand 10 after
6140 * Initialize a newly created error code to have the given [name]. 6140 * Initialize a newly created error code to have the given [name].
6141 */ 6141 */
6142 const TodoCode(String name) : super(name, "{0}"); 6142 const TodoCode(String name) : super(name, "{0}");
6143 6143
6144 @override 6144 @override
6145 ErrorSeverity get errorSeverity => ErrorSeverity.INFO; 6145 ErrorSeverity get errorSeverity => ErrorSeverity.INFO;
6146 6146
6147 @override 6147 @override
6148 ErrorType get type => ErrorType.TODO; 6148 ErrorType get type => ErrorType.TODO;
6149 } 6149 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/generated/element_resolver.dart ('k') | pkg/analyzer/lib/src/generated/error_verifier.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698