diff options
Diffstat (limited to 'src/ast/pattern.cpp')
-rw-r--r-- | src/ast/pattern.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ast/pattern.cpp b/src/ast/pattern.cpp index d7168bc9..c3373206 100644 --- a/src/ast/pattern.cpp +++ b/src/ast/pattern.cpp @@ -133,6 +133,7 @@ void operator%(::Deserialiser& s, Pattern::Value& v) { s % tag; switch(tag) { + case Pattern::Value::TAGDEAD: throw ""; case Pattern::Value::TAG_Invalid: v = Pattern::Value::make_Invalid({}); break; @@ -208,6 +209,7 @@ SERIALISE_TYPE(Pattern::, "Pattern", { s % tag; switch(tag) { + case Pattern::Data::TAGDEAD: throw ""; _D(Any, ) _D(MaybeBind, ) |