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

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

Issue 2989073002: [fasta] Issue error for large integer literals (Closed)
Patch Set: 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 878 matching lines...) Expand 10 before | Expand all | Expand 10 after
889 889
890 CantInferPackagesFromPackageUri: 890 CantInferPackagesFromPackageUri:
891 template: "Can't infer a .packages file from an input 'package:*' URI." 891 template: "Can't infer a .packages file from an input 'package:*' URI."
892 tip: "Try specifying the file explicitly with the --packages option." 892 tip: "Try specifying the file explicitly with the --packages option."
893 893
894 PackageNotFound: 894 PackageNotFound:
895 template: "Could not resolve the package '#name' in '#uri'." 895 template: "Could not resolve the package '#name' in '#uri'."
896 896
897 InvalidPackageUri: 897 InvalidPackageUri:
898 template: "Invalid package Uri '#uri':\n #string." 898 template: "Invalid package Uri '#uri':\n #string."
899
900 IntegerLiteralIsOutOfRange:
901 template: "Integer literal #lexeme is out of range"
ahe 2017/08/01 11:34:13 A great message conveys the following three things
ahe 2017/08/01 11:34:13 Add single quotes around #lexeme. See also pkg/fro
ahe 2017/08/01 11:34:13 Add period at end of sentence.
alexmarkov 2017/08/01 20:14:44 Done.
alexmarkov 2017/08/01 20:14:44 Can you suggest an error message for invalid integ
alexmarkov 2017/08/01 20:14:44 Done. Note that pkg/front_end/lib/src/fasta/diagno
ahe 2017/08/03 17:10:16 template: "The integer literal #lexeme can't be re
ahe 2017/08/03 17:10:16 Thank you, let's follow what the document says, al
alexmarkov 2017/08/14 17:56:36 Done.
alexmarkov 2017/08/14 17:56:36 Done.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698