lib/generators: abort on pattern match failure

This commit is contained in:
Profpatsch 2018-01-03 23:11:21 +01:00
parent 93d3561b57
commit 319722113e

View File

@ -130,6 +130,6 @@ rec {
(name: value:
"${toPretty args name} = ${toPretty args value};") v)
+ " }"
else "toPretty: should never happen (v = ${v})";
else abort "toPretty: should never happen (v = ${v})";
}