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

Unified Diff: sdk/lib/_internal/compiler/implementation/elements/elements.dart

Issue 11707002: Revert "NoSuchMethod on different super accesses/invocations handled." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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 | « no previous file | sdk/lib/_internal/compiler/implementation/lib/js_helper.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/_internal/compiler/implementation/elements/elements.dart
diff --git a/sdk/lib/_internal/compiler/implementation/elements/elements.dart b/sdk/lib/_internal/compiler/implementation/elements/elements.dart
index 01b8a5541e6b7b7ffa10da3f726ff807e3964c8a..b237d7bf217301f9fad6bf78179da53f37eaf13b 100644
--- a/sdk/lib/_internal/compiler/implementation/elements/elements.dart
+++ b/sdk/lib/_internal/compiler/implementation/elements/elements.dart
@@ -1867,25 +1867,6 @@ class Elements {
return isLocal(element);
}
- /**
- * Returns [:true:] if [element] represents an entity that can be used as the
- * left-hand side of an assignment. For example a non-final field, a setter,
- * or an abstract field with a setter.
- */
- static bool isAssignable(Element element) {
- if (element == null) return false;
- if (element.isField()) {
- return !element.modifiers.isFinalOrConst();
- } else if (element.isAbstractField()) {
- AbstractFieldElement abstractFieldElement = element;
- return abstractFieldElement.setter != null;
- } else if (element.isSetter()) {
- return true;
- }
- return false;
- }
-
-
static SourceString constructConstructorName(SourceString receiver,
SourceString selector) {
String r = receiver.slowToString();
« no previous file with comments | « no previous file | sdk/lib/_internal/compiler/implementation/lib/js_helper.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698