diff options
Diffstat (limited to 'src/ast/ast.cpp')
-rw-r--r-- | src/ast/ast.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ast/ast.cpp b/src/ast/ast.cpp index 850c1dc3..23e9bfea 100644 --- a/src/ast/ast.cpp +++ b/src/ast/ast.cpp @@ -671,7 +671,7 @@ SERIALISE_TYPE(TypeParam::, "AST_TypeParam", { SERIALISE_TYPE(PATH::, TAG, {\
s % this->tag(); TU_MATCH(PATH, ((*this)), (NAME), __VA_ARGS__)\
}, {\
- PATH::Tag tag; s % tag; switch(tag) { SERIALISE_TU_ARMS(PATH, NAME, __VA_ARGS__) } \
+ PATH::Tag tag; s % tag; switch(tag) { case PATH::TAGDEAD: throw ""; SERIALISE_TU_ARMS(PATH, NAME, __VA_ARGS__) } \
})
SERIALISE_TU(GenericBound, "GenericBound", ent,
|