summaryrefslogtreecommitdiff
path: root/src/ast/path.cpp
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2016-05-18 20:42:08 +0800
committerJohn Hodge <tpg@mutabah.net>2016-05-18 20:42:08 +0800
commit921db4d1205948cbf684bf7e1d3894bdb7c2b4d5 (patch)
treee0e1c5bf9a341dc12165d19e879362f065d2ac69 /src/ast/path.cpp
parentc9284d392f89c0108785189ff986efbece5c9b65 (diff)
downloadmrust-921db4d1205948cbf684bf7e1d3894bdb7c2b4d5.tar.gz
Tagged union cleanup hacks
Diffstat (limited to 'src/ast/path.cpp')
-rw-r--r--src/ast/path.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ast/path.cpp b/src/ast/path.cpp
index 9cdf0317..9ff9fe0d 100644
--- a/src/ast/path.cpp
+++ b/src/ast/path.cpp
@@ -577,6 +577,7 @@ SERIALISE_TYPE(Path::, "AST_Path", {
s % tag;
switch(tag)
{
+ case Class::TAGDEAD: throw "";
_D(Invalid)
_D(Local , s.item( ent.name ); )