def handleDuplicateDeclaration(symbol: 'Symbol', candSymbol: 'Symbol') -> None:
    if Symbol.debug_lookup:
        Symbol.debug_indent += 1
        Symbol.debug_print('redeclaration')
        Symbol.debug_indent -= 1
        Symbol.debug_indent -= 2
    candSymbol.isRedeclaration = True
    raise _DuplicateSymbolError(symbol, declaration)
def handleDuplicateDeclaration(symbol: 'Symbol', candSymbol: 'Symbol') -> None:
    if Symbol.debug_lookup:
        Symbol.debug_indent += 1
        Symbol.debug_print('redeclaration')
        Symbol.debug_indent -= 1
        Symbol.debug_indent -= 2
    candSymbol.isRedeclaration = True
    raise _DuplicateSymbolError(symbol, declaration)