2023-02-02 02:34:15 +03:00
|
|
|
diff --color=auto -ru a/libsolidity/lsp/DocumentHoverHandler.cpp b/libsolidity/lsp/DocumentHoverHandler.cpp
|
|
|
|
--- a/libsolidity/lsp/DocumentHoverHandler.cpp 2023-02-01 17:33:07
|
|
|
|
+++ b/libsolidity/lsp/DocumentHoverHandler.cpp 2023-02-01 17:32:26
|
|
|
|
@@ -63,7 +63,7 @@
|
|
|
|
auto const [sourceUnitName, lineColumn] = HandlerBase(*this).extractSourceUnitNameAndLineColumn(_args);
|
|
|
|
auto const [sourceNode, sourceOffset] = m_server.astNodeAndOffsetAtSourceLocation(sourceUnitName, lineColumn);
|
|
|
|
|
|
|
|
- MarkdownBuilder markdown{};
|
2023-02-04 03:46:40 +03:00
|
|
|
+ MarkdownBuilder markdown;
|
2023-02-02 02:34:15 +03:00
|
|
|
auto rangeToHighlight = toRange(sourceNode->location());
|
|
|
|
|
|
|
|
// Try getting the type definition of the underlying AST node, if available.
|