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

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

Issue 99303004: Remove unused API. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 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
Index: dart/sdk/lib/_internal/compiler/implementation/resolution/scope.dart
diff --git a/dart/sdk/lib/_internal/compiler/implementation/resolution/scope.dart b/dart/sdk/lib/_internal/compiler/implementation/resolution/scope.dart
index e31e9ff57607d003281a8da7852ff3c6c0c09b97..ebc83d6393cca63ec10e8bff4b047321113e3a7f 100644
--- a/dart/sdk/lib/_internal/compiler/implementation/resolution/scope.dart
+++ b/dart/sdk/lib/_internal/compiler/implementation/resolution/scope.dart
@@ -34,11 +34,6 @@ abstract class NestedScope extends Scope {
}
Element localLookup(String name);
-
- static Scope buildEnclosingScope(Element element) {
- return element.enclosingElement != null
- ? element.enclosingElement.buildScope() : element.buildScope();
- }
}
class VariableDefinitionScope extends NestedScope {

Powered by Google App Engine
This is Rietveld 408576698