mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 05:56:15 +02:00
assert for invalid fileorigin
This commit is contained in:
parent
8497891b99
commit
5ae498872a
1 changed files with 1 additions and 1 deletions
|
@ -584,7 +584,7 @@ Expr * EvalState::parse(const char * text, FileOrigin origin,
|
|||
data.file = data.symbols.create(text);
|
||||
break;
|
||||
default:
|
||||
throw Error("invalid FileOrigin in parse");
|
||||
assert(false);
|
||||
}
|
||||
data.basePath = basePath;
|
||||
|
||||
|
|
Loading…
Reference in a new issue