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

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

Issue 11033016: Added TODO. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 2 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 | « lib/compiler/implementation/dart_backend/utils.dart ('k') | lib/compiler/implementation/js/nodes.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/compiler/implementation/elements/elements.dart
diff --git a/lib/compiler/implementation/elements/elements.dart b/lib/compiler/implementation/elements/elements.dart
index 5102e7f876a64659fab96fc3d51b86b108565137..9786f92eb052f78a0695bc86f3e848e28aff688d 100644
--- a/lib/compiler/implementation/elements/elements.dart
+++ b/lib/compiler/implementation/elements/elements.dart
@@ -1131,7 +1131,7 @@ class FunctionElement extends Element {
Scope result =
new MethodScope(enclosingElement.buildScope(), this);
if (enclosingElement.isClass()) {
- Scope clsScope = result.parent;
+ ClassScope clsScope = result.parent;
clsScope.inStaticContext = !isInstanceMember() && !isConstructor();
}
return result;
@@ -1819,7 +1819,7 @@ class TypeVariableElement extends Element {
*
* The mirror system does not have a concept matching this class.
*/
-class MetadataAnnotation {
+abstract class MetadataAnnotation {
/**
* The compile-time constant which this annotation resolves to.
* In the mirror system, this would be an object mirror.
« no previous file with comments | « lib/compiler/implementation/dart_backend/utils.dart ('k') | lib/compiler/implementation/js/nodes.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698