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

Unified Diff: sdk/lib/_internal/compiler/implementation/resolution/members.dart

Issue 12038087: Add (failing) test case for mixin type parameters. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Merge. Created 7 years, 11 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
« no previous file with comments | « no previous file | tests/language/language.status » ('j') | tests/language/mixin_type_parameters_super_test.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/_internal/compiler/implementation/resolution/members.dart
diff --git a/sdk/lib/_internal/compiler/implementation/resolution/members.dart b/sdk/lib/_internal/compiler/implementation/resolution/members.dart
index b9ca6ff20d700e8cb6b0b437bf4bb8d79a0fa86e..93193c44677e9c43fe6f3c9479b8ec382b6cd2d3 100644
--- a/sdk/lib/_internal/compiler/implementation/resolution/members.dart
+++ b/sdk/lib/_internal/compiler/implementation/resolution/members.dart
@@ -2873,6 +2873,10 @@ class ClassResolverVisitor extends TypeDefinitionVisitor {
compiler.ensure(element != null);
compiler.ensure(element.resolutionState == STATE_STARTED);
+ InterfaceType type = element.computeType(compiler);
+ scope = new TypeDeclarationScope(scope, element);
+ resolveTypeVariableBounds(node.typeParameters);
+
// Generate anonymous mixin application elements for the
// intermediate mixin applications (excluding the last).
DartType supertype = resolveSupertype(element, node.superclass);
« no previous file with comments | « no previous file | tests/language/language.status » ('j') | tests/language/mixin_type_parameters_super_test.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698