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

Unified Diff: pkg/analyzer/test/generated/resolver_test.dart

Issue 1215053003: Compute mixin application constructors in the ClassElement.constructors getter. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 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
« no previous file with comments | « pkg/analyzer/test/generated/element_test.dart ('k') | pkg/analyzer/test/src/task/dart_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/test/generated/resolver_test.dart
diff --git a/pkg/analyzer/test/generated/resolver_test.dart b/pkg/analyzer/test/generated/resolver_test.dart
index a796d5e5d6469368326640965cd1dca59cd83931..e3607589b03943e9706c9e4b74ba13223359741f 100644
--- a/pkg/analyzer/test/generated/resolver_test.dart
+++ b/pkg/analyzer/test/generated/resolver_test.dart
@@ -13365,11 +13365,6 @@ class TypeResolverVisitorTest extends EngineTestCase {
*/
TypeResolverVisitor _visitor;
- /**
- * The visitor used to resolve types needed to form the type hierarchy.
- */
- ImplicitConstructorBuilder _implicitConstructorBuilder;
-
void fail_visitConstructorDeclaration() {
fail("Not yet tested");
_listener.assertNoErrors();
@@ -13420,14 +13415,6 @@ class TypeResolverVisitorTest extends EngineTestCase {
_typeProvider = new TestTypeProvider();
_visitor =
new TypeResolverVisitor.con1(_library, librarySource, _typeProvider);
- _implicitConstructorBuilder = new ImplicitConstructorBuilder(_listener,
- (ClassElement classElement, ClassElement superclassElement,
- void computation()) {
- // For these tests, we assume the classes for which implicit
- // constructors need to be built are visited in proper dependency order,
- // so we just invoke the computation immediately.
- computation();
- });
}
void test_visitCatchClause_exception() {
@@ -13827,9 +13814,6 @@ class TypeResolverVisitorTest extends EngineTestCase {
}
}
node.accept(_visitor);
- if (node is Declaration) {
- node.element.accept(_implicitConstructorBuilder);
- }
}
}
« no previous file with comments | « pkg/analyzer/test/generated/element_test.dart ('k') | pkg/analyzer/test/src/task/dart_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698