This commit is contained in:
Eelco Dolstra 2020-04-20 15:28:56 +02:00
parent b69323f8c9
commit 8c75621da6

View file

@ -235,10 +235,10 @@ static Flake getFlake(
auto sEpoch = state.symbols.create("epoch"); // FIXME: remove soon
if (vInfo.attrs->get(sEdition))
warn("flake '%s' has deprecated attribution 'edition'", lockedRef);
warn("flake '%s' has deprecated attribute 'edition'", lockedRef);
if (vInfo.attrs->get(sEpoch))
warn("flake '%s' has deprecated attribution 'epoch'", lockedRef);
warn("flake '%s' has deprecated attribute 'epoch'", lockedRef);
if (auto description = vInfo.attrs->get(state.sDescription)) {
expectType(state, tString, *description->value, *description->pos);