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

Side by Side Diff: pkg/front_end/messages.yaml

Issue 2996163002: support class native clause (Closed)
Patch Set: add new fasta native clause error code Created 3 years, 4 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) 2017, the Dart project authors. Please see the AUTHORS file 1 # Copyright (c) 2017, 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 # Each entry in this map corresponds to a diagnostic message. Ideally, each 5 # Each entry in this map corresponds to a diagnostic message. Ideally, each
6 # entry contains three parts: 6 # entry contains three parts:
7 # 7 #
8 # 1. A message template (template). 8 # 1. A message template (template).
9 # 9 #
10 # 2. A suggestion for how to correct the problem (tip). 10 # 2. A suggestion for how to correct the problem (tip).
(...skipping 562 matching lines...) Expand 10 before | Expand all | Expand 10 after
573 internal stack trace from the compiler. Multiple kinds can be separated by 573 internal stack trace from the compiler. Multiple kinds can be separated by
574 commas, for example, --fatal=errors,warnings. 574 commas, for example, --fatal=errors,warnings.
575 575
576 FastaCLIArgumentRequired: 576 FastaCLIArgumentRequired:
577 template: "Expected value after '#name'." 577 template: "Expected value after '#name'."
578 578
579 NamedFunctionExpression: 579 NamedFunctionExpression:
580 template: "A function expression can't have a name." 580 template: "A function expression can't have a name."
581 dart2jsCode: "*ignored*" 581 dart2jsCode: "*ignored*"
582 582
583 NativeClauseShouldBeAnnotation:
584 template: "Native clause in this form is deprecated."
585 tip: "Try removing this native clause and adding @native() or @native('some-te xt-here') before the declaration."
ahe 2017/08/21 12:04:11 'some-text-here' -> 'native name'.
danrubel 2017/08/22 01:35:28 Fixed.
586 analyzerCode: NATIVE_CLAUSE_SHOULD_BE_ANNOTATION
587 dart2jsCode: "*fatal*"
588
583 ReturnTypeFunctionExpression: 589 ReturnTypeFunctionExpression:
584 template: "A function expression can't have a return type." 590 template: "A function expression can't have a return type."
585 dart2jsCode: "*ignored*" 591 dart2jsCode: "*ignored*"
586 592
587 InternalProblemUnhandled: 593 InternalProblemUnhandled:
588 template: "Unhandled #string in #string2." 594 template: "Unhandled #string in #string2."
589 595
590 InternalProblemUnimplemented: 596 InternalProblemUnimplemented:
591 template: "Unimplemented #string." 597 template: "Unimplemented #string."
592 598
(...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after
900 906
901 PackageNotFound: 907 PackageNotFound:
902 template: "Could not resolve the package '#name' in '#uri'." 908 template: "Could not resolve the package '#name' in '#uri'."
903 909
904 InvalidPackageUri: 910 InvalidPackageUri:
905 template: "Invalid package Uri '#uri':\n #string." 911 template: "Invalid package Uri '#uri':\n #string."
906 912
907 IntegerLiteralIsOutOfRange: 913 IntegerLiteralIsOutOfRange:
908 template: "The integer literal #lexeme can't be represented in 64 bits." 914 template: "The integer literal #lexeme can't be represented in 64 bits."
909 tip: "Try using BigInt (from 'dart:typed_data' library) if you need an integer larger than 9,223,372,036,854,775,807 or less than -9,223,372,036,854,775,808." 915 tip: "Try using BigInt (from 'dart:typed_data' library) if you need an integer larger than 9,223,372,036,854,775,807 or less than -9,223,372,036,854,775,808."
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698