             classes = ANY_DROP
           @csBlock node, depth, 0, wrappingParen, classes
 
+          variableBounds = @getBounds(node.variable)
+          hasCallParen = (@lines[variableBounds.end.line][variableBounds.end.column] == '(')
+
           # Some function names (like /// RegExps ///) are never editable.
           if @implicitName namenodes
             # do nothing

          if not known and node.args.length is 0 and not node.do
            # The only way we can have zero arguments in CoffeeScript
            # is for the parenthesis to open immediately after the function name.
            variableBounds = @getBounds(node.variable)
            start = {
              line: variableBounds.end.line
              column: variableBounds.end.column + 1

      # We will not add a socket around @variable when it
      # is only some text
      when 'Call'
        hasCallParen = false
        if node.variable?
          namenodes = @functionNameNodes node
          known = @lookupFunctionName namenodes
