diff --git a/wake/lsp/features/rename.py b/wake/lsp/features/rename.py index 754368b7..fc634b69 100644 --- a/wake/lsp/features/rename.py +++ b/wake/lsp/features/rename.py @@ -141,6 +141,8 @@ async def rename( f"Requested rename for file {params.text_document.uri} at {params.position}" ) + assert False + match = IDENTIFIER_RE.match(params.new_name) if not match: raise LspError(ErrorCodes.InvalidRequest, "Invalid identifier name") @@ -214,6 +216,8 @@ async def prepare_rename( f"Requested prepare rename for file {params.text_document.uri} at {params.position}" ) + assert False + await context.compiler.compilation_ready.wait() path = uri_to_path(params.text_document.uri).resolve()