summaryrefslogtreecommitdiff
path: root/src/hir_conv/constant_evaluation.cpp
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2016-11-20 09:26:13 +0800
committerJohn Hodge <tpg@mutabah.net>2016-11-20 09:26:13 +0800
commita6aae2e4413789e548a30fd9cb421cc2f6964b14 (patch)
treea6872cea76eaea7fe24e4c11ac5eb9b42482a3c4 /src/hir_conv/constant_evaluation.cpp
parentad7c16cd3664a79c09e00a76ae4e081aadd88493 (diff)
downloadmrust-a6aae2e4413789e548a30fd9cb421cc2f6964b14.tar.gz
MIR - Union support hacked up
Diffstat (limited to 'src/hir_conv/constant_evaluation.cpp')
-rw-r--r--src/hir_conv/constant_evaluation.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/hir_conv/constant_evaluation.cpp b/src/hir_conv/constant_evaluation.cpp
index 8d93ced1..bd1e740a 100644
--- a/src/hir_conv/constant_evaluation.cpp
+++ b/src/hir_conv/constant_evaluation.cpp
@@ -1136,6 +1136,9 @@ namespace {
vals.push_back( read_lval(v) );
val = ::HIR::Literal::make_List( mv$(vals) );
),
+ (Variant,
+ TODO(sp, "MIR _Variant");
+ ),
(Struct,
::std::vector< ::HIR::Literal> vals;
vals.reserve( e.vals.size() );