We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a36a2b commit 985237aCopy full SHA for 985237a
swift/extractor/infra/SwiftDispatcher.h
@@ -215,7 +215,7 @@ class SwiftDispatcher {
215
216
template <typename... Args>
217
void emitDebugInfo(const Args&... args) {
218
- trap.debug(std::forward<Args>(args)...);
+ trap.debug(args...);
219
}
220
221
// In order to not emit duplicated entries for declarations, we restrict emission to only
@@ -315,7 +315,7 @@ class SwiftDispatcher {
315
virtual void visit(swift::TypeBase* type) = 0;
316
317
void visit(const FilePath& file) {
318
- auto entry = createEntry(file);
+ auto entry = createEntry(file, file.path);
319
entry.name = file.path;
320
emit(entry);
321
0 commit comments