def goto_func(server, filepath, contents, row, col, callback):
    '''
    Thread that send goto declaration
    '''
    rst = server.SendGoToRequest(filepath=filepath,
                                 contents=contents,
                                 filetype='cpp',
                                 line_num=row,
                                 column_num=col)
    if rst == '':
        return
    data = json.loads(rst)
    row = data.get('line_num', 1) - 1
    col = 1 - data.get('column_num', 1)
    callback(row, col)
dataset/ETHPy150Open glymehrvrd/CppYCM/commands/goto.py/goto_func/swapped operands of `-`