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

Unified Diff: pkg/compiler/lib/src/resolution/class_hierarchy.dart

Issue 2567943003: Remove support for mixin typedefs in dart2js. (Closed)
Patch Set: Created 4 years 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
« no previous file with comments | « pkg/compiler/lib/src/parser/parser.dart ('k') | tests/language/language_dart2js.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/resolution/class_hierarchy.dart
diff --git a/pkg/compiler/lib/src/resolution/class_hierarchy.dart b/pkg/compiler/lib/src/resolution/class_hierarchy.dart
index 551a47e7332bbed9323fa1546f0b3ac578d0b1dc..b9fae9797b3619b4e8b296fa5f04ee2ef5fb62bb 100644
--- a/pkg/compiler/lib/src/resolution/class_hierarchy.dart
+++ b/pkg/compiler/lib/src/resolution/class_hierarchy.dart
@@ -276,13 +276,6 @@ class ClassResolverVisitor extends TypeDefinitionVisitor {
element, 'cyclic resolution of class $element');
}
- if (identical(node.classKeyword.stringValue, 'typedef')) {
- // TODO(aprelev@gmail.com): Remove this deprecation diagnostic
- // together with corresponding TODO in parser.dart.
- reporter.reportWarningMessage(
- node.classKeyword, MessageKind.DEPRECATED_TYPEDEF_MIXIN_SYNTAX);
- }
-
element.computeType(resolution);
scope = new TypeDeclarationScope(scope, element);
resolveTypeVariableBounds(node.typeParameters);
« no previous file with comments | « pkg/compiler/lib/src/parser/parser.dart ('k') | tests/language/language_dart2js.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698