Create from usage: Removed a TODO.

This commit is contained in:
Jack Zhou
2013-04-19 12:04:51 -04:00
committed by Jack Zhou
parent e231397811
commit f2dc5e39e7
@@ -990,8 +990,6 @@ public class CreateMethodFromUsageFix extends CreateFromUsageFixBase {
declaration = variable; // otherwise fall through and guess, based on LHS
}
// TODO: nested in a trivial expression (e.g. parentheses or if-else)
// guess based on declaration
SearchScope scope = expr.getContainingFile().getUseScope();
Set<JetType> expectedTypes = new HashSet<JetType>();