Changed completion for 'iter' live template, now check is the same as used in checking real for loops.

This commit is contained in:
Evgeny Gerashchenko
2012-02-09 21:47:20 +04:00
parent 447114f063
commit 47764add22
4 changed files with 29 additions and 45 deletions
@@ -76,8 +76,8 @@ public final class TipsManager {
return Collections.emptyList();
}
private static Collection<DeclarationDescriptor> excludeNotCallableExtensions(
@NotNull Collection<DeclarationDescriptor> descriptors, @NotNull final JetScope scope
public static Collection<DeclarationDescriptor> excludeNotCallableExtensions(
@NotNull Collection<? extends DeclarationDescriptor> descriptors, @NotNull final JetScope scope
) {
final Set<DeclarationDescriptor> descriptorsSet = Sets.newHashSet(descriptors);