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

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

Issue 2471483002: Fix typos in correction messages (Closed)
Patch Set: Created 4 years, 1 month 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/error/codes.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.src.dart.error.hint_codes; 5 library analyzer.src.dart.error.hint_codes;
6 6
7 import 'package:analyzer/error/error.dart'; 7 import 'package:analyzer/error/error.dart';
8 import 'package:analyzer/src/dart/element/element.dart'; 8 import 'package:analyzer/src/dart/element/element.dart';
9 9
10 /** 10 /**
(...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after
372 * [StaticTypeWarningCode.UNDEFINED_METHOD] would have been generated, if we 372 * [StaticTypeWarningCode.UNDEFINED_METHOD] would have been generated, if we
373 * used propagated information for the warnings. 373 * used propagated information for the warnings.
374 * 374 *
375 * Parameters: 375 * Parameters:
376 * 0: the name of the method that is undefined 376 * 0: the name of the method that is undefined
377 * 1: the resolved type name that the method lookup is happening on 377 * 1: the resolved type name that the method lookup is happening on
378 */ 378 */
379 static const HintCode UNDEFINED_METHOD = const HintCode( 379 static const HintCode UNDEFINED_METHOD = const HintCode(
380 'UNDEFINED_METHOD', 380 'UNDEFINED_METHOD',
381 "The method '{0}' isn't defined for the class '{1}'.", 381 "The method '{0}' isn't defined for the class '{1}'.",
382 "Try correcting the name to the name of an existing method, or" 382 "Try correcting the name to the name of an existing method, or "
383 "defining a method named '{0}'."); 383 "defining a method named '{0}'.");
384 384
385 /** 385 /**
386 * This hint is generated anywhere where the 386 * This hint is generated anywhere where the
387 * [StaticTypeWarningCode.UNDEFINED_OPERATOR] would have been generated, if we 387 * [StaticTypeWarningCode.UNDEFINED_OPERATOR] would have been generated, if we
388 * used propagated information for the warnings. 388 * used propagated information for the warnings.
389 * 389 *
390 * Parameters: 390 * Parameters:
391 * 0: the name of the operator 391 * 0: the name of the operator
392 * 1: the name of the enclosing type where the operator is being looked for 392 * 1: the name of the enclosing type where the operator is being looked for
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
562 */ 562 */
563 const HintCode(String name, String message, [String correction]) 563 const HintCode(String name, String message, [String correction])
564 : super(name, message, correction); 564 : super(name, message, correction);
565 565
566 @override 566 @override
567 ErrorSeverity get errorSeverity => ErrorType.HINT.severity; 567 ErrorSeverity get errorSeverity => ErrorType.HINT.severity;
568 568
569 @override 569 @override
570 ErrorType get type => ErrorType.HINT; 570 ErrorType get type => ErrorType.HINT;
571 } 571 }
OLDNEW
« no previous file with comments | « no previous file | pkg/analyzer/lib/src/error/codes.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698