mirror of
https://github.com/ivabus/pantry
synced 2024-11-14 04:25:08 +03:00
12 lines
679 B
Diff
12 lines
679 B
Diff
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{};
|
|
+ MarkdownBuilder markdown;
|
|
auto rangeToHighlight = toRange(sourceNode->location());
|
|
|
|
// Try getting the type definition of the underlying AST node, if available.
|