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

Unified Diff: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/parser/ParserErrorCode.java

Issue 18117002: Report FUNCTION_TYPED_PARAMETER_VAR (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/parser/ParserErrorCode.java
diff --git a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/parser/ParserErrorCode.java b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/parser/ParserErrorCode.java
index 43258924cfb79af5190f7dbe1567479cfd59818a..8395a2def7f8d6579c4159df00101b049f1b2d7b 100644
--- a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/parser/ParserErrorCode.java
+++ b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/parser/ParserErrorCode.java
@@ -78,6 +78,8 @@ public enum ParserErrorCode implements ErrorCode {
FINAL_CONSTRUCTOR("A constructor cannot be declared to be 'final'"),
FINAL_METHOD("Getters, setters and methods cannot be declared to be 'final'"),
FINAL_TYPEDEF("Type aliases cannot be declared to be 'final'"),
+ FUNCTION_TYPED_PARAMETER_VAR(
+ "Function typed parameters cannot specify 'const', 'final' or 'var' instead of return type"),
GETTER_WITH_PARAMETERS("Getter should be declared without a parameter list"),
ILLEGAL_ASSIGNMENT_TO_NON_ASSIGNABLE("Illegal assignment to non-assignable expression"),
IMPLEMENTS_BEFORE_EXTENDS("The extends clause must be before the implements clause"),

Powered by Google App Engine
This is Rietveld 408576698