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

Unified Diff: compiler/java/com/google/dart/compiler/parser/ParserErrorCode.java

Issue 10534082: Issue 3449. Enable default values for parameters in abstract and interface methods (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rollback changes from other CL Created 8 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: compiler/java/com/google/dart/compiler/parser/ParserErrorCode.java
diff --git a/compiler/java/com/google/dart/compiler/parser/ParserErrorCode.java b/compiler/java/com/google/dart/compiler/parser/ParserErrorCode.java
index 9afdbc86470222cdcb0829ec542f3432430d2819..a00fd9e0e857125a599aee1c8e88c37a385f68a0 100644
--- a/compiler/java/com/google/dart/compiler/parser/ParserErrorCode.java
+++ b/compiler/java/com/google/dart/compiler/parser/ParserErrorCode.java
@@ -21,12 +21,8 @@ public enum ParserErrorCode implements ErrorCode {
BREAK_OUTSIDE_OF_LOOP("'break' used outside of loop, case statement"),
CATCH_OR_FINALLY_EXPECTED("catch or finally clause expected."),
CONTINUE_OUTSIDE_OF_LOOP("'continue' used outside of loop or case statement"),
- DEFAULT_VALUE_CAN_NOT_BE_SPECIFIED_IN_ABSTRACT(
- "Default values cannot be specified in abstract method"),
DEFAULT_VALUE_CAN_NOT_BE_SPECIFIED_IN_CLOSURE(
"Default values cannot be specified in closure parameter"),
- DEFAULT_VALUE_CAN_NOT_BE_SPECIFIED_IN_INTERFACE(
- "Default values cannot be specified in signature of an interface method"),
DEFAULT_VALUE_CAN_NOT_BE_SPECIFIED_IN_TYPEDEF(
"Default values cannot be specified in closure type definition"),
DEFAULT_POSITIONAL_PARAMETER("Positional parameters cannot have default values"),

Powered by Google App Engine
This is Rietveld 408576698