diff options
author | John Hodge <tpg@mutabah.net> | 2016-06-08 14:31:34 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2016-06-08 14:31:34 +0800 |
commit | 9db1983ed557ccc99d33b07cc1be75ee3f5b303d (patch) | |
tree | 632d3436bad2299227cedac755208565a08b4367 /src/hir_conv/constant_evaluation.cpp | |
parent | 5961266133f5e0cbcd57403021086c788d732ec1 (diff) | |
download | mrust-9db1983ed557ccc99d33b07cc1be75ee3f5b303d.tar.gz |
HIR - Move tuple struct/enum construtors to their on HIR node
- This makes typeck of those invocations easier
Diffstat (limited to 'src/hir_conv/constant_evaluation.cpp')
-rw-r--r-- | src/hir_conv/constant_evaluation.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/hir_conv/constant_evaluation.cpp b/src/hir_conv/constant_evaluation.cpp index 4c17f2b0..c9fcaf0a 100644 --- a/src/hir_conv/constant_evaluation.cpp +++ b/src/hir_conv/constant_evaluation.cpp @@ -354,6 +354,9 @@ namespace { badnode(node); } + void visit(::HIR::ExprNode_TupleVariant& node) override { + TODO(node.span(), "ExprNode_TupleVariant"); + } void visit(::HIR::ExprNode_CallPath& node) override { auto& fcn = get_function(node.span(), m_crate, node.m_path); // TODO: Set m_const during parse |