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

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

Issue 2968093003: Improve parsing of function expressions. (Closed)
Patch Set: Created 3 years, 5 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 439 matching lines...) Expand 10 before | Expand all | Expand 10 after
450 dart2jsCode: "*ignored*" 450 dart2jsCode: "*ignored*"
451 451
452 FinalFieldWithoutInitializer: 452 FinalFieldWithoutInitializer:
453 template: "A 'final' field must be initialized." 453 template: "A 'final' field must be initialized."
454 tip: "Try adding '= <initializer>'." 454 tip: "Try adding '= <initializer>'."
455 dart2jsCode: "*ignored*" 455 dart2jsCode: "*ignored*"
456 456
457 MetadataTypeArguments: 457 MetadataTypeArguments:
458 template: "An annotation (metadata) can't use type arguments." 458 template: "An annotation (metadata) can't use type arguments."
459 dart2jsCode: "*ignored*" 459 dart2jsCode: "*ignored*"
460
461 NamedFunctionExpression:
462 template: "A function expression can't have a name."
463 dart2jsCode: "*ignored*"
464
465 ReturnTypeFunctionExpression:
466 template: "A function expression can't have a return type."
467 dart2jsCode: "*ignored*"
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698