Skip to content

Commit c7d1bbe

Browse files
committed
fix
1 parent e843559 commit c7d1bbe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lldb/tools/lldb-dap/Protocol/ProtocolTypes.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,10 @@ llvm::json::Value toJSON(const Source &S) {
6161
result.insert({"name", *S.name});
6262
if (S.path)
6363
result.insert({"path", *S.path});
64-
if (S.name)
64+
if (S.sourceReference)
6565
result.insert({"sourceReference", *S.sourceReference});
6666
if (S.presentationHint)
67-
result.insert({"sourceReference", ToString(*S.presentationHint)});
67+
result.insert({"presentationHint", ToString(*S.presentationHint)});
6868

6969
return result;
7070
}

0 commit comments

Comments
 (0)