Skip to content

Commit 5b75522

Browse files
committed
Fix Compilation::Result constructor
1 parent 3b8597c commit 5b75522

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

include/swift/Driver/Compilation.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,8 @@ class Compilation {
102102

103103
/// Construct a \c Compilation::Result from just an exit code.
104104
static Result code(int code) {
105-
return Compilation::Result{false, code};
105+
return Compilation::Result{false, code,
106+
fine_grained_dependencies::ModuleDepGraph()};
106107
}
107108
};
108109

0 commit comments

Comments
 (0)