| Index: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/parser/Parser.java
|
| diff --git a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/parser/Parser.java b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/parser/Parser.java
|
| index f630ac635773c8113baa21ba759d6e2e62f27d97..759f60d21615055cfc79626d566d5ef2c880720c 100644
|
| --- a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/parser/Parser.java
|
| +++ b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/parser/Parser.java
|
| @@ -5191,14 +5191,12 @@ public class Parser {
|
| next = skipTypeParameterList(next);
|
| if (next != null && matches(next, TokenType.EQ)) {
|
| TypeAlias typeAlias = parseClassTypeAlias(commentAndMetadata, keyword);
|
| - // TODO(scheglov) report error when VM and dart2js start to accept new syntax
|
| -// reportError(ParserErrorCode.DEPRECATED_CLASS_TYPE_ALIAS, keyword);
|
| + reportError(ParserErrorCode.DEPRECATED_CLASS_TYPE_ALIAS, keyword);
|
| return typeAlias;
|
| }
|
| } else if (matches(next, TokenType.EQ)) {
|
| TypeAlias typeAlias = parseClassTypeAlias(commentAndMetadata, keyword);
|
| - // TODO(scheglov) report error when VM and dart2js start to accept new syntax
|
| -// reportError(ParserErrorCode.DEPRECATED_CLASS_TYPE_ALIAS, keyword);
|
| + reportError(ParserErrorCode.DEPRECATED_CLASS_TYPE_ALIAS, keyword);
|
| return typeAlias;
|
| }
|
| }
|
|
|