Use named field initialization for references

This commit is contained in:
John Ericson
2023-01-06 12:24:20 -05:00
parent 8623143921
commit 6a168254ce
15 changed files with 34 additions and 26 deletions
+1 -1
View File
@@ -235,7 +235,7 @@ static void fetch(EvalState & state, const PosIdx pos, Value * * args, Value & v
.method = unpack ? FileIngestionMethod::Recursive : FileIngestionMethod::Flat,
.hash = *expectedHash,
},
{}
.references = {}
});
if (state.store->isValidPath(expectedPath)) {