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

Unified Diff: pkg/compiler/lib/src/elements/elements.dart

Issue 868643002: Revert "Change signature of lookupConstructor to only require a name." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 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 | « pkg/compiler/lib/src/compiler.dart ('k') | pkg/compiler/lib/src/elements/modelx.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/elements/elements.dart
diff --git a/pkg/compiler/lib/src/elements/elements.dart b/pkg/compiler/lib/src/elements/elements.dart
index c6d2e9f2b1420c56ef8bba900900179f5ebdee20..c676422cd933972d052f4924987292d88721e8b9 100644
--- a/pkg/compiler/lib/src/elements/elements.dart
+++ b/pkg/compiler/lib/src/elements/elements.dart
@@ -1374,8 +1374,11 @@ abstract class ClassElement extends TypeDeclarationElement
Element lookupSuperMemberInLibrary(String memberName,
LibraryElement library);
- ConstructorElement lookupDefaultConstructor();
- ConstructorElement lookupConstructor(String name);
+ Element validateConstructorLookupResults(Selector selector,
+ Element result,
+ Element noMatch(Element));
+
+ Element lookupConstructor(Selector selector, [Element noMatch(Element)]);
void forEachMember(void f(ClassElement enclosingClass, Element member),
{bool includeBackendMembers: false,
« no previous file with comments | « pkg/compiler/lib/src/compiler.dart ('k') | pkg/compiler/lib/src/elements/modelx.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698