Index: lib/compiler/implementation/ssa/builder.dart |
diff --git a/lib/compiler/implementation/ssa/builder.dart b/lib/compiler/implementation/ssa/builder.dart |
index 98a024761753ec356b57beb9e8f65147e2c8fc24..35582749429c9f0d308542346b97609a4762398a 100644 |
--- a/lib/compiler/implementation/ssa/builder.dart |
+++ b/lib/compiler/implementation/ssa/builder.dart |
@@ -47,6 +47,8 @@ class Interceptors { |
// use this function. |
Element getStaticInterceptorBySelector(Selector selector) { |
if (selector.isGetter()) { |
+ // TODO(lrn): If there is no get-interceptor, but there is a |
+ // method-interceptor, we should generate a get-interceptor automatically. |
return getStaticGetInterceptor(selector.name); |
} else if (selector.isSetter()) { |
return getStaticSetInterceptor(selector.name); |