From f2dc5e39e786b932c31a5ec88a5d3444bd9aea28 Mon Sep 17 00:00:00 2001 From: Jack Zhou Date: Fri, 19 Apr 2013 12:04:51 -0400 Subject: [PATCH] Create from usage: Removed a TODO. --- .../jetbrains/jet/plugin/quickfix/CreateMethodFromUsageFix.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/idea/src/org/jetbrains/jet/plugin/quickfix/CreateMethodFromUsageFix.java b/idea/src/org/jetbrains/jet/plugin/quickfix/CreateMethodFromUsageFix.java index 5b64a243216..23b6c2745d2 100644 --- a/idea/src/org/jetbrains/jet/plugin/quickfix/CreateMethodFromUsageFix.java +++ b/idea/src/org/jetbrains/jet/plugin/quickfix/CreateMethodFromUsageFix.java @@ -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 expectedTypes = new HashSet();