diff options
author | John Hodge <tpg@mutabah.net> | 2016-05-18 20:42:08 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2016-05-18 20:42:08 +0800 |
commit | 921db4d1205948cbf684bf7e1d3894bdb7c2b4d5 (patch) | |
tree | e0e1c5bf9a341dc12165d19e879362f065d2ac69 /src/ast/path.cpp | |
parent | c9284d392f89c0108785189ff986efbece5c9b65 (diff) | |
download | mrust-921db4d1205948cbf684bf7e1d3894bdb7c2b4d5.tar.gz |
Tagged union cleanup hacks
Diffstat (limited to 'src/ast/path.cpp')
-rw-r--r-- | src/ast/path.cpp | 1 |
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 ); ) |